Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ on:
env:
PYTHON_STANDALONE_VERSIONS: |
[
"20241219"
"20260414"
]
PYTHON_VERSIONS: |
[
"3.10.16",
"3.11.11",
"3.12.8",
"3.13.1",
"3.10.20",
"3.11.15",
"3.12.13",
"3.13.13",
"3.14.4"
]

jobs:
Expand All @@ -40,7 +41,7 @@ jobs:
pythonStandaloneVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_STANDALONE_VERSIONS) }}
pythonVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_VERSIONS) }}
fail-fast: false
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: clone
run: |
Expand All @@ -61,14 +62,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: '1.24'
- name: build-tag
run: |
git config --global user.email "no@mail.exists"
git config --global user.name "go-embed-python releaser"
BUILD_NUM=$(./hack/next-build-num.sh ${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }})
./hack/build-tag.sh ${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }} $BUILD_NUM
echo $BUILD_NUM > build-num
git config --global user.name "goempy releaser"
./hack/build-tag.sh ${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
- name: git gc
run: |
git gc
Expand All @@ -80,7 +79,7 @@ jobs:
name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }}
path: |
git-dir
build-num
tag-name

tests:
needs:
Expand All @@ -89,9 +88,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-22.04
- macos-13
- windows-2022
- ubuntu-24.04
- macos-15
- windows-2025
pythonStandaloneVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_STANDALONE_VERSIONS) }}
pythonVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_VERSIONS) }}
fail-fast: false
Expand All @@ -107,11 +106,11 @@ jobs:
shell: bash
run: |
git reset --hard
git checkout v0.0.0-${{ matrix.pythonVersion }}-${{ matrix.pythonStandaloneVersion }}-$(cat build-num)
git checkout "$(cat tag-name)"
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: '1.24'
- name: run tests
shell: bash
run: |
Expand All @@ -126,7 +125,7 @@ jobs:
pythonStandaloneVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_STANDALONE_VERSIONS) }}
pythonVersion: ${{ fromJSON(needs.build-matrix.outputs.PYTHON_VERSIONS) }}
fail-fast: false
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
permissions:
contents: write
Expand All @@ -145,4 +144,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: push tag
run: |
git push origin v0.0.0-${{ matrix.pythonVersion }}-${{ matrix.pythonStandaloneVersion }}-$(cat build-num)
git push origin "$(cat tag-name)"
1 change: 1 addition & 0 deletions PRIMARY_PYTHON
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.14
Loading
Loading