Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c43a26a97f | ||
|
|
7bf4da577b |
@@ -56,7 +56,7 @@ jobs:
|
|||||||
switch -wildcard ($os) {
|
switch -wildcard ($os) {
|
||||||
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux"); if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux"); if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
||||||
"*macos*" { $platform = 'darwin' }
|
"*macos*" { $platform = 'darwin' }
|
||||||
"*windows*" { $platform = 'win32'; if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
"*windows*" { $platform = 'win32'; if ($arch -eq "arm64" ) { $os = "setup-actions-windows-arm64-4-core" } }
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($buildMode -eq "freethreaded") {
|
if ($buildMode -eq "freethreaded") {
|
||||||
@@ -85,6 +85,29 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup Environment on Windows ARM64 Runner
|
||||||
|
if: matrix.os == 'setup-actions-windows-arm64-4-core'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
# Install Chocolatey
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
||||||
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
echo "C:\ProgramData\Chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
# Install PowerShell
|
||||||
|
choco install powershell-core -y
|
||||||
|
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
# Install Git
|
||||||
|
choco install git -y
|
||||||
|
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
|
||||||
|
# Install 7-Zip
|
||||||
|
choco install 7zip -y
|
||||||
|
echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -116,6 +139,28 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup Environment on Windows ARM64 Runner
|
||||||
|
if: matrix.os == 'setup-actions-windows-arm64-4-core'
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
# Install Chocolatey
|
||||||
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
||||||
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
|
echo "C:\ProgramData\Chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
# Install PowerShell
|
||||||
|
choco install powershell-core -y
|
||||||
|
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
# Install Git
|
||||||
|
choco install git -y
|
||||||
|
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
|
||||||
|
# Install 7-Zip
|
||||||
|
choco install 7zip -y
|
||||||
|
echo "C:\ProgramData\chocolatey\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: Get Python versions
|
name: Get Python versions
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0,12 * * *'
|
- cron: '0 3,15 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -10,4 +10,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tool-name: "Python"
|
tool-name: "Python"
|
||||||
image-url: "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"
|
image-url: "https://avatars.githubusercontent.com/u/1525981?s=200&v=4"
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
@@ -1615,129 +1615,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"version": "3.13.6",
|
|
||||||
"stable": true,
|
|
||||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.13.6-16792117939",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-darwin-arm64-freethreaded.tar.gz",
|
|
||||||
"arch": "arm64-freethreaded",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-darwin-arm64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-darwin-arm64.tar.gz",
|
|
||||||
"arch": "arm64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-darwin-arm64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-darwin-x64-freethreaded.tar.gz",
|
|
||||||
"arch": "x64-freethreaded",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-darwin-x64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-darwin-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "darwin",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-darwin-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-22.04-arm64-freethreaded.tar.gz",
|
|
||||||
"arch": "arm64-freethreaded",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "22.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-22.04-arm64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-22.04-arm64.tar.gz",
|
|
||||||
"arch": "arm64",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "22.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-22.04-arm64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-22.04-x64-freethreaded.tar.gz",
|
|
||||||
"arch": "x64-freethreaded",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "22.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-22.04-x64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-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.13.6-16792117939/python-3.13.6-linux-22.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-24.04-arm64-freethreaded.tar.gz",
|
|
||||||
"arch": "arm64-freethreaded",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "24.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-24.04-arm64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-24.04-arm64.tar.gz",
|
|
||||||
"arch": "arm64",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "24.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-24.04-arm64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-24.04-x64-freethreaded.tar.gz",
|
|
||||||
"arch": "x64-freethreaded",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "24.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-24.04-x64-freethreaded.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-linux-24.04-x64.tar.gz",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "linux",
|
|
||||||
"platform_version": "24.04",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-linux-24.04-x64.tar.gz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-arm64-freethreaded.zip",
|
|
||||||
"arch": "arm64-freethreaded",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-arm64-freethreaded.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-arm64.zip",
|
|
||||||
"arch": "arm64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-arm64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-x64-freethreaded.zip",
|
|
||||||
"arch": "x64-freethreaded",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-x64-freethreaded.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-x64.zip",
|
|
||||||
"arch": "x64",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-x64.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-x86-freethreaded.zip",
|
|
||||||
"arch": "x86-freethreaded",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-x86-freethreaded.zip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"filename": "python-3.13.6-win32-x86.zip",
|
|
||||||
"arch": "x86",
|
|
||||||
"platform": "win32",
|
|
||||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.13.6-16792117939/python-3.13.6-win32-x86.zip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"version": "3.13.5",
|
"version": "3.13.5",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user