mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
7 Commits
3.12.0-alp
...
3.8.15-360
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04ce6b25b8 | ||
|
|
1248039d12 | ||
|
|
150cd39a1c | ||
|
|
93c66279f2 | ||
|
|
14f269ec5f | ||
|
|
188d4c2fb8 | ||
|
|
99b9e07db6 |
4
.github/workflows/python-builder.yml
vendored
4
.github/workflows/python-builder.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Generate execution matrix
|
||||
id: generate-matrix
|
||||
run: |
|
||||
$configurations = "${{ github.event.inputs.platforms || 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-10.15,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
||||
[String[]]$configurations = "${{ github.event.inputs.platforms || 'ubuntu-18.04,ubuntu-20.04,ubuntu-22.04,macos-10.15,windows-2019_x64,windows-2019_x86' }}".Split(",").Trim()
|
||||
$matrix = @()
|
||||
|
||||
foreach ($configuration in $configurations) {
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
'arch' = $arch
|
||||
}
|
||||
}
|
||||
echo "matrix=$($matrix | ConvertTo-Json -Compress)" >> $env:GITHUB_OUTPUT
|
||||
echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
|
||||
|
||||
build_python:
|
||||
needs: generate_matrix
|
||||
|
||||
@@ -54,7 +54,13 @@ echo "Create additional symlinks (Required for the UsePythonVersion Azure Pipeli
|
||||
ln -s ./bin/$PYTHON_MAJOR_DOT_MINOR python
|
||||
|
||||
cd bin/
|
||||
ln -s $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJOR_MINOR
|
||||
|
||||
# This symlink already exists if Python version with the same major.minor version is installed,
|
||||
# since we do not remove the framework folder
|
||||
if [ ! -f $PYTHON_MAJOR_MINOR ]; then
|
||||
ln -s $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJOR_MINOR
|
||||
fi
|
||||
|
||||
if [ ! -f python ]; then
|
||||
ln -s $PYTHON_MAJOR_DOT_MINOR python
|
||||
fi
|
||||
|
||||
@@ -1,4 +1,50 @@
|
||||
[
|
||||
{
|
||||
"version": "3.12.0-alpha.2",
|
||||
"stable": false,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.0-alpha.2-3524742960",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-win32-x64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.0-alpha.2-win32-x86.zip",
|
||||
"arch": "x86",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.0-alpha.2-3524742960/python-3.12.0-alpha.2-win32-x86.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.12.0-alpha.1",
|
||||
"stable": false,
|
||||
@@ -2589,6 +2635,40 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.15",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.8.15-3582057865",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.8.15-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-18.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "18.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-18.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-20.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "20.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-20.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.8.15-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.8.15-3582057865/python-3.8.15-linux-22.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.8.14",
|
||||
"stable": true,
|
||||
|
||||
Reference in New Issue
Block a user