Skip to content

Commit 746b48f

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [github actions] vcpkg installation issue fixed.
1 parent 060aa2b commit 746b48f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/c-macos.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@ jobs:
2424
- name: Install
2525
shell: bash
2626
run: |
27-
if [ "$RUNNER_OS" == "macOS" ]; then
28-
brew install vcpkg
29-
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
30-
export VCPKG_ROOT="$HOME/vcpkg"
31-
sh $VCPKG_ROOT/bootstrap-vcpkg.sh
32-
echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
33-
elif [ "$RUNNER_OS" == "Linux" ]; then
34-
echo "VCPKG_ROOT=/usr/local/share/vcpkg" >> $GITHUB_ENV
35-
elif [ "$RUNNER_OS" == "Windows" ]; then
36-
echo "VCPKG_ROOT=C:/vcpkg" >> $GITHUB_ENV
37-
fi
27+
brew install vcpkg
28+
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
29+
export VCPKG_ROOT="$HOME/vcpkg"
30+
sh $VCPKG_ROOT/bootstrap-vcpkg.sh
31+
ls -alh $VCPKG_ROOT/scripts/
32+
echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
33+
3834
3935
- name: Check Tools
4036
run: |

0 commit comments

Comments
 (0)