Skip to content

Commit a7b6a10

Browse files
MylesBorinstargos
authored andcommitted
test: fix python-version selection with actions
s/PYTHON\_VERSION/python-version Refs: https://github.com/actions/setup-python PR-URL: #32609 Reviewed-By: Matheus Marchini <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 42a28d0 commit a7b6a10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python ${{ env.PYTHON_VERSION }}
1515
uses: actions/setup-python@v1
1616
with:
17-
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
17+
python-version: ${{ env.PYTHON_VERSION }}
1818
- name: Install deps
1919
run: choco install nasm
2020
- name: Environment Information

.github/workflows/test-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python ${{ env.PYTHON_VERSION }}
1515
uses: actions/setup-python@v1
1616
with:
17-
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
17+
python-version: ${{ env.PYTHON_VERSION }}
1818
- name: Environment Information
1919
run: npx envinfo
2020
- name: Build

.github/workflows/test-macos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python ${{ env.PYTHON_VERSION }}
1515
uses: actions/setup-python@v1
1616
with:
17-
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
17+
python-version: ${{ env.PYTHON_VERSION }}
1818
- name: Environment Information
1919
run: npx envinfo
2020
- name: Build

0 commit comments

Comments
 (0)