Skip to content

Commit

Permalink
pin ubuntu to 22.04, to fix maturin publication action (#590)
Browse files Browse the repository at this point in the history
* Address PyO3/maturin-action@v1 issue in ubuntu 24.04 by pinning to
ubuntu 22.04. See PyO3/maturin-action#291

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated the GitHub Actions workflow to use `ubuntu-22.04` for Linux
jobs, enhancing compatibility and performance.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
akotlar authored Oct 13, 2024
1 parent 52779e0 commit 3833aa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
platform:
- runner: ubuntu-latest
- runner: ubuntu-22.04
target: x86_64
local_name: x86_64
steps:
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
cd python && pytest
sdist:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build sdist
Expand All @@ -158,7 +158,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 3833aa0

Please sign in to comment.