fixing comments

This commit is contained in:
Dmitry Shibanov 2022-12-15 14:34:43 +01:00
parent 17904c7b69
commit 0130854fbc
4 changed files with 91 additions and 43 deletions

View file

@ -196,7 +196,8 @@ jobs:
}
$pythonVersion
shell: pwsh
setup-python-multiple-versions:
setup-python-multiple-python-versions:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@ -207,13 +208,17 @@ jobs:
- name: Setup Python and check latest
uses: ./
with:
python-version: ${{ matrix.python-version }}
python-version: |
3.7
3.8
3.9
3.10
check-latest: true
- name: Validate version
run: |
$pythonVersion = (python --version)
if ("$pythonVersion" -NotMatch "${{ matrix.python-version }}"){
Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python-version }}"
if ("$pythonVersion" -NotMatch "3.10"){
Write-Host "The current version is $pythonVersion; expected version is 3.10"
exit 1
}
$pythonVersion