File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 90
90
shell : bash
91
91
# virtual environment is automatically activated
92
92
run : |
93
- cd ..
94
93
uv run python -c "import pyogrio; print(f'GDAL version: {pyogrio.__gdal_version__}\nGEOS version: {pyogrio.__gdal_geos_version__}')"
95
94
uv run python -m pytest --pyargs pyogrio.tests -v
96
95
@@ -177,14 +176,12 @@ jobs:
177
176
with :
178
177
fetch-depth : 0
179
178
180
- - name : Cache vcpkg
181
- uses : actions/cache@v4
182
- id : vcpkgcache
179
+ - name : Export GitHub Actions cache environment variables
180
+ uses : actions/github-script@v7
183
181
with :
184
- path : |
185
- ${{ matrix.vcpkg_cache }}
186
- # bump the last digit to avoid using previous build cache
187
- key : ${{ matrix.os }}-${{ matrix.arch }}-vcpkg-gdal3.9.2-cache1
182
+ script : |
183
+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
184
+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
188
185
189
186
# MacOS build requires aclocal, which is part of automake, but appears
190
187
# to be missing in default image
@@ -207,6 +204,7 @@ jobs:
207
204
- name : Install GDAL
208
205
env :
209
206
VCPKG_DEFAULT_TRIPLET : ${{ matrix.triplet }}
207
+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
210
208
shell : bash
211
209
run : |
212
210
vcpkg install --overlay-triplets=./ci/custom-triplets --feature-flags="versions,manifests" --x-manifest-root=./ci --x-install-root=$VCPKG_INSTALLATION_ROOT/installed --debug
You can’t perform that action at this time.
0 commit comments