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