Skip to content

Commit 24e0ba3

Browse files
committed
Pin ubuntu version for release workflow
1 parent b754566 commit 24e0ba3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
jobs:
2424
build:
2525
name: Build distribution 📦
26-
runs-on: ubuntu-latest
26+
runs-on: ubuntu-24.04
2727
steps:
2828
- uses: actions/checkout@v6
2929
- name: Set up Python
@@ -45,7 +45,7 @@ jobs:
4545
name: Publish Python 🐍 distribution 📦 to TestPyPI
4646
needs:
4747
- build
48-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-24.04
4949
environment:
5050
name: testpypi
5151
url: ${{ env.PYPI_TEST_URL }}
@@ -68,7 +68,7 @@ jobs:
6868
needs:
6969
- build
7070
- publish-to-testpypi
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-24.04
7272
environment:
7373
name: pypi
7474
url: ${{ env.PYPI_URL }}
@@ -89,7 +89,7 @@ jobs:
8989
and upload them to GitHub Release
9090
needs:
9191
- publish-to-pypi
92-
runs-on: ubuntu-latest
92+
runs-on: ubuntu-24.04
9393
permissions:
9494
contents: write # IMPORTANT: mandatory for making GitHub Releases
9595
id-token: write # IMPORTANT: mandatory for sigstore

0 commit comments

Comments
 (0)