Skip to content

Commit 8527d7f

Browse files
committed
ci(wheels): coerce "install python" step to use python 3.9
This is just to silence warnings in the workflow summary view. It shouldn't affect anything about the builds themselves. Signed-off-by: Zach Lewis <[email protected]>
1 parent efab6ff commit 8527d7f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/wheel.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jobs:
124124

125125
- name: Install Python
126126
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
127+
with:
128+
python-version: '3.9'
127129

128130
- name: ccache-restore
129131
id: ccache-restore
@@ -228,7 +230,9 @@ jobs:
228230
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
229231

230232
- name: Install Python
231-
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
233+
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.
234+
with:
235+
python-version: '3.9'
232236

233237
- name: ccache-restore
234238
id: ccache-restore
@@ -323,6 +327,8 @@ jobs:
323327

324328
- name: Install Python
325329
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
330+
with:
331+
python-version: 3.9
326332

327333
- name: ccache-restore
328334
id: ccache-restore
@@ -410,6 +416,8 @@ jobs:
410416

411417
- name: Install Python
412418
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
419+
with:
420+
python-version: 3.9
413421

414422
- name: ccache-restore
415423
id: ccache-restore
@@ -488,6 +496,8 @@ jobs:
488496

489497
- name: Install Python
490498
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
499+
with:
500+
python-version: 3.9
491501

492502
- name: Build wheels
493503
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1

0 commit comments

Comments
 (0)