Skip to content

Commit

Permalink
ci: switch to ubuntu from 2022 to work around maturin action issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Oct 16, 2024
1 parent e928521 commit febf591
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
create-release:
name: create-release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Get the release version from the tag
Expand All @@ -21,7 +21,7 @@ jobs:
version: ${{ env.VERSION }}

linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["create-release"]

strategy:
Expand Down Expand Up @@ -69,7 +69,9 @@ jobs:
path: dist

sdist:
runs-on: ubuntu-latest
# switch back to ubuntu-22.04 once this issue is resolved:
# https://github.com/PyO3/maturin-action/issues/291
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build sdist
Expand All @@ -85,7 +87,7 @@ jobs:

release:
name: Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, macos, sdist]
steps:
Expand Down

0 comments on commit febf591

Please sign in to comment.