Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use ubuntu-24.04 again for release #847

Merged
merged 2 commits into from
Sep 11, 2024
Merged
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
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,16 @@ jobs:
path: dist

sdist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [set-version]
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:
Expand All @@ -168,12 +173,17 @@ 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:
- 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:
Expand Down
Loading