File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 6666 env :
6767 GITPULLOPTIONS : --no-tags origin ${{ github.ref }}
6868 OS_VER : windows-${{ matrix.os < 2022 && '2019' || matrix.os }}
69- VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7069 VCPKG_DEFAULT_TRIPLET : ${{ matrix.target || 'x64' }}-windows
7170 RUBY_OPT_DIR : ${{ matrix.os == '11-arm' && 'C' || 'D' }}:/a/ruby/ruby/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
7271
8988 scoop install vcpkg uutils-coreutils cmake@3.31.6
9089 shell : pwsh
9190
92- - name : Export GitHub Actions cache environment variables
93- uses : actions/github-script@v7
94- with :
95- script : |
96- core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
97- core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
98-
9991 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
10092 with :
10193 sparse-checkout-cone-mode : false
@@ -141,6 +133,13 @@ jobs:
141133 run : Get-Volume
142134 shell : pwsh
143135
136+ # vcpkg built-in cache is not working now
137+ - name : Restore vcpkg artifact
138+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
139+ with :
140+ path : C:\Users\runneradmin\AppData\Local\vcpkg\archives
141+ key : vcpkg-${{ matrix.target || 'x64' }}-${{ hashFiles('src/vcpkg.json') }}
142+
144143 - name : Install libraries with vcpkg
145144 run : |
146145 vcpkg install --vcpkg-root=C:\Users\runneradmin\scoop\apps\vcpkg\current
You can’t perform that action at this time.
0 commit comments