Skip to content

Commit 801cf60

Browse files
committed
finally i think i have to hardcode path values due to github limiations
1 parent 41ce2d3 commit 801cf60

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/clang_tidy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
credentials:
1818
username: ${{ github.actor }}
1919
password: ${{ secrets.github_token }}
20-
env:
21-
VCPKG_ROOT: /opt/vcpkg # Path must match inside the Docker image
2220

2321
steps:
2422
- uses: actions/checkout@v4
@@ -27,9 +25,9 @@ jobs:
2725
uses: actions/cache@v4
2826
with:
2927
path: |
30-
${{ env.VCPKG_ROOT }}/installed
31-
${{ env.VCPKG_ROOT }}/buildtrees
32-
${{ env.VCPKG_ROOT }}/packages
28+
/opt/vcpkg/installed
29+
/opt/vcpkg/buildtrees
30+
/opt/vcpkg/packages
3331
~/.cache/vcpkg
3432
key: ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
3533
restore-keys: ${{ runner.os }}-vcpkg-

.github/workflows/linux-build.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
credentials:
1818
username: ${{ github.actor }}
1919
password: ${{ secrets.github_token }}
20-
env:
21-
VCPKG_ROOT: /opt/vcpkg # Path must match inside the Docker image
2220

2321
strategy:
2422
matrix:
@@ -31,9 +29,9 @@ jobs:
3129
uses: actions/cache@v4
3230
with:
3331
path: |
34-
${{ env.VCPKG_ROOT }}/installed
35-
${{ env.VCPKG_ROOT }}/buildtrees
36-
${{ env.VCPKG_ROOT }}/packages
32+
/opt/vcpkg/installed
33+
/opt/vcpkg/buildtrees
34+
/opt/vcpkg/packages
3735
~/.cache/vcpkg
3836
key: ${{ runner.os }}-vcpkg-${{ matrix.preset }}-${{ hashFiles('vcpkg.json') }}
3937
restore-keys: ${{ runner.os }}-vcpkg-

0 commit comments

Comments
 (0)