mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
check failures fix for older versions
This commit is contained in:
parent
4e9a9d3ee8
commit
77a921a769
2
.github/workflows/e2e-tests.yml
vendored
2
.github/workflows/e2e-tests.yml
vendored
@ -71,4 +71,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '<3.11'
|
python-version: '<3.11'
|
||||||
- name: Verify <3.11
|
- name: Verify <3.11
|
||||||
run: python __tests__/verify-python.py 3.10.4
|
run: python __tests__/verify-python.py 3.10
|
||||||
|
4
.github/workflows/test-python.yml
vendored
4
.github/workflows/test-python.yml
vendored
@ -264,8 +264,8 @@ jobs:
|
|||||||
- name: Validate version
|
- name: Validate version
|
||||||
run: |
|
run: |
|
||||||
$pythonVersion = (python --version)
|
$pythonVersion = (python --version)
|
||||||
if ("Python 3.9.0b4" -ne "$pythonVersion"){
|
if ("Python 3.11.0b4" -ne "$pythonVersion"){
|
||||||
Write-Host "The current version is $pythonVersion; expected version is 3.9.0b4"
|
Write-Host "The current version is $pythonVersion; expected version is 3.11.0b4"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
$pythonVersion
|
$pythonVersion
|
||||||
|
Loading…
Reference in New Issue
Block a user