mirror of https://github.com/actions/setup-python
Compare commits
2 Commits
10652c39a3
...
33b410d5fd
Author | SHA1 | Date |
---|---|---|
priya-kinthali | 33b410d5fd | |
priya-kinthali | 0bae723ab0 |
|
@ -291,7 +291,7 @@ jobs:
|
|||
run: python -c 'import math; print(math.factorial(5))'
|
||||
|
||||
setup-pre-release-version-from-manifest:
|
||||
name: Setup 3.13.0-beta.1 ${{ matrix.os }}
|
||||
name: Setup 3.14.0-alpha.1 ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
@ -309,11 +309,11 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup-python 3.13.0-beta.1
|
||||
- name: setup-python 3.14.0-alpha.1
|
||||
id: setup-python
|
||||
uses: ./
|
||||
with:
|
||||
python-version: '3.13.0-beta.1'
|
||||
python-version: '3.14.0-alpha.1'
|
||||
|
||||
- name: Check python-path
|
||||
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
|
||||
|
@ -322,8 +322,8 @@ jobs:
|
|||
- name: Validate version
|
||||
run: |
|
||||
$pythonVersion = (python --version)
|
||||
if ("Python 3.13.0b1" -ne "$pythonVersion"){
|
||||
Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6"
|
||||
if ("Python 3.14.0a1" -ne "$pythonVersion"){
|
||||
Write-Host "The current version is $pythonVersion; expected version is 3.14.0a1"
|
||||
exit 1
|
||||
}
|
||||
$pythonVersion
|
||||
|
@ -338,7 +338,15 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||
os:
|
||||
[
|
||||
ubuntu-latest,
|
||||
ubuntu-22.04,
|
||||
ubuntu-20.04,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -366,7 +374,15 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||
os:
|
||||
[
|
||||
ubuntu-latest,
|
||||
ubuntu-22.04,
|
||||
ubuntu-20.04,
|
||||
windows-latest,
|
||||
macos-latest,
|
||||
macos-13
|
||||
]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
Loading…
Reference in New Issue