File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 ${{ github.workspace }}/vcpkg/packages
2828 ${{ github.workspace }}/vcpkg/downloads
2929 ${{ github.workspace }}/build/vcpkg_installed
30- key : vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
30+ key : vcpkg-${{ runner.os }}-${{ github.job }}-${{ hashFiles('vcpkg.json') }}
3131 restore-keys : |
3232 vcpkg-${{ runner.os }}-
3333
@@ -50,14 +50,14 @@ jobs:
5050 ls -l artifacts/libs || true
5151
5252 - name : Save vcpkg cache
53- if : always()
53+ if : ${{ runner.os == 'Linux' && github.job == 'build' }}
5454 uses : actions/cache/save@v5
5555 with :
5656 path : |
5757 ${{ github.workspace }}/vcpkg/packages
5858 ${{ github.workspace }}/vcpkg/downloads
5959 ${{ github.workspace }}/build/vcpkg_installed
60- key : vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
60+ key : vcpkg-${{ runner.os }}-${{ github.job }}-${{ hashFiles('vcpkg.json') }}
6161
6262 - uses : actions/upload-artifact@v7
6363 with :
You can’t perform that action at this time.
0 commit comments