Skip to content

Commit b2b697c

Browse files
committed
Use vcpkg-action github-binarycache
1 parent e7388c2 commit b2b697c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,15 @@ jobs:
204204
python-version: '${{ matrix.config.python_version }}'
205205
architecture: ${{ matrix.config.arch }}
206206
- name: vcpkg build
207-
uses: johnwason/vcpkg-action@v5
207+
uses: johnwason/vcpkg-action@v6
208208
with:
209209
pkgs: >-
210210
${{ env.VCPKG_PKGS }}
211211
triplet: ${{ matrix.config.vcpkg_triplet }}
212212
extra-args: --clean-after-build
213213
token: ${{ github.token }}
214214
cache-key: win-${{ matrix.config.arch }}-python-${{ matrix.config.python_version }}
215+
github-binarycache: true
215216
- name: pip3
216217
run: |
217218
python -m pip install numpy setuptools wheel pytest delvewheel colcon-common-extensions vcstool
@@ -299,14 +300,15 @@ jobs:
299300
run: |
300301
brew install libomp cmake automake autoconf libtool gcc ninja
301302
- name: vcpkg build
302-
uses: johnwason/vcpkg-action@v5
303+
uses: johnwason/vcpkg-action@v6
303304
with:
304305
pkgs: >-
305306
${{ env.VCPKG_PKGS }}
306307
triplet: x64-osx-dynamic-release
307308
extra-args: --clean-after-build --overlay-triplets=${{ github.workspace }}/ws/src/tesseract_python/.github/workflows/vcpkg_triplets
308309
token: ${{ github.token }}
309310
cache-key: osx-x64-vcpkg
311+
github-binarycache: true
310312
- name: pip3
311313
run: |
312314
python3 -m pip install numpy setuptools wheel pytest delvewheel colcon-common-extensions vcstool delocate

0 commit comments

Comments
 (0)