Skip to content

Commit 6eac4e5

Browse files
committed
ci: Launch create-artifacts.py with python
We have occasional CI failures on Windows where the environment variables don't get set so the artifact upload fails. Looking at the logs, it doesn't even appear the create-artifact job ran (but there are no errors). The Windows runners sometimes have trouble launching python scripts via `./`, so switch to using the python3 executable in hopes that this helps. (backport <#4780>) (cherry picked from commit 962b985)
1 parent 0264335 commit 6eac4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
- name: Create CI artifacts
155155
id: create_artifacts
156156
if: always()
157-
run: ./ci/create-artifacts.py
157+
run: python3 ci/create-artifacts.py
158158
- uses: actions/upload-artifact@v4
159159
if: always() && steps.create_artifacts.outcome == 'success'
160160
with:

0 commit comments

Comments
 (0)