Skip to content

Commit e393e87

Browse files
richardlaucodebytere
authored andcommitted
build: fix python-version selection with actions
s/PYTHON\_VERSION/python-version Refs: https://github.com/actions/setup-python Refs: #32609 PR-URL: #33589 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent cc74f3c commit e393e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/linters.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python ${{ env.PYTHON_VERSION }}
2727
uses: actions/setup-python@v1
2828
with:
29-
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
29+
python-version: ${{ env.PYTHON_VERSION }}
3030
- name: Environment Information
3131
run: npx envinfo
3232
- name: Lint C/C++ files
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Python ${{ env.PYTHON_VERSION }}
6565
uses: actions/setup-python@v1
6666
with:
67-
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
67+
python-version: ${{ env.PYTHON_VERSION }}
6868
- name: Environment Information
6969
run: npx envinfo
7070
- name: Lint Python

0 commit comments

Comments
 (0)