mirror of
https://github.com/actions/setup-python.git
synced 2025-07-05 00:53:46 +00:00
check failures fix for older versions
This commit is contained in:
parent
4e9a9d3ee8
commit
77a921a769
2 changed files with 3 additions and 3 deletions
4
.github/workflows/test-python.yml
vendored
4
.github/workflows/test-python.yml
vendored
|
@ -264,8 +264,8 @@ jobs:
|
|||
- name: Validate version
|
||||
run: |
|
||||
$pythonVersion = (python --version)
|
||||
if ("Python 3.9.0b4" -ne "$pythonVersion"){
|
||||
Write-Host "The current version is $pythonVersion; expected version is 3.9.0b4"
|
||||
if ("Python 3.11.0b4" -ne "$pythonVersion"){
|
||||
Write-Host "The current version is $pythonVersion; expected version is 3.11.0b4"
|
||||
exit 1
|
||||
}
|
||||
$pythonVersion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue