From e89bfad9b42870b39417839c1f68f812a962657e Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Fri, 6 Sep 2024 23:10:28 +0200 Subject: [PATCH 1/2] ci: use `ubuntu-24.04` again for release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ce3cc22..f4bdfc46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -144,7 +144,7 @@ jobs: path: dist sdist: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [set-version] steps: - uses: actions/checkout@v4 @@ -168,7 +168,7 @@ jobs: publish: name: Publish - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [linux, windows, macos, sdist] if: ${{ github.event_name == 'release' }} steps: From de75e225f29fdfb40614d3a8e164dd2b48bb6336 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sat, 7 Sep 2024 19:26:49 +0200 Subject: [PATCH 2/2] ci: install Python on release jobs --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4bdfc46..f6c06888 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,6 +149,11 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: Download updated pyproject.toml uses: actions/download-artifact@v4 with: @@ -174,6 +179,11 @@ jobs: steps: - uses: actions/download-artifact@v4 + - name: Install Python + uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: