Skip to content

Commit

Permalink
Trying to get the workflow to work
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed Mar 3, 2024
1 parent 8fab569 commit e567530
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,20 @@ jobs:
vcpkg: true
cppcheck: true

- name: Install dependencies
- name: Prepate the PATH
run: |
${{ env.HOME }}/vcpkg/vcpkg install
if [[ "${{ runner.os }}" == "Windows" ]]; then
echo "$env:USERPROFILE\vcpkg" >> $GITHUB_PATH
echo "$env:USERPROFILE\ninja" >> $GITHUB_PATH
else
echo "$HOME/vcpkg" >> $GITHUB_PATH
echo "$HOME/ninja" >> $GITHUB_PATH
fi
shell: bash

- name: Prepate the PATH
run: echo "${{ env.HOME }}/ninja" >> $GITHUB_PATH
- name: Install dependencies
run: |
vcpkg install
- name: Build project
run: |
Expand Down

0 comments on commit e567530

Please sign in to comment.