File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 66
66
env :
67
67
GITPULLOPTIONS : --no-tags origin ${{ github.ref }}
68
68
OS_VER : windows-${{ matrix.os < 2022 && '2019' || matrix.os }}
69
- VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
70
69
VCPKG_DEFAULT_TRIPLET : ${{ matrix.target || 'x64' }}-windows
71
70
RUBY_OPT_DIR : ${{ matrix.os == '11-arm' && 'C' || 'D' }}:/a/ruby/ruby/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
72
71
89
88
scoop install vcpkg uutils-coreutils cmake@3.31.6
90
89
shell : pwsh
91
90
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
-
99
91
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
100
92
with :
101
93
sparse-checkout-cone-mode : false
@@ -141,6 +133,13 @@ jobs:
141
133
run : Get-Volume
142
134
shell : pwsh
143
135
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
+
144
143
- name : Install libraries with vcpkg
145
144
run : |
146
145
vcpkg install --vcpkg-root=C:\Users\runneradmin\scoop\apps\vcpkg\current
You can’t perform that action at this time.
0 commit comments