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 <mat@mmarchini.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)