Skip to content

Commit 8a1f1c0

Browse files
authored
Update build_wheels_linux.yml
1 parent b59224a commit 8a1f1c0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build_wheels_linux.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,13 @@ jobs:
6868
submodules: false
6969
fetch-depth: 0
7070

71-
- name: Debug pip vars
72-
run: env | grep -i pip
73-
71+
- name: Force official PyPI on runner
72+
run: |
73+
mkdir -p ~/.config/pip
74+
printf "[global]\nindex-url = https://pypi.org/simple\n" > ~/.config/pip/pip.conf
75+
echo "Runner pip.conf now:"
76+
cat ~/.config/pip/pip.conf
77+
7478
- name: Build a package
7579
run: source scripts/build.sh
7680
- name: Saving a wheel accordingly to matrix

0 commit comments

Comments
 (0)