Skip to content

Commit c17581c

Browse files
committed
Add token
1 parent 02ea37e commit c17581c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ jobs:
5656
~/Library/Caches/cibuildwheel
5757
key: cibuildwheel-${{ runner.os }}
5858

59+
- name: Pre-download virtualenv
60+
run: |
61+
mkdir -p ~/Library/Caches/cibuildwheel
62+
curl -L -H "Authorization: Bearer $GITHUB_TOKEN" \
63+
https://github.com/pypa/get-virtualenv/raw/20.26.6/public/virtualenv.pyz \
64+
-o ~/Library/Caches/cibuildwheel/virtualenv-20.26.6.pyz
65+
env:
66+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67+
5968
- name: Build wheels
6069
uses: pypa/cibuildwheel@v2.21
6170
env:

0 commit comments

Comments
 (0)