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

chore(actions): unique name for each wheel uploaded to the artifacts #127

Merged
merged 1 commit into from
Sep 10, 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
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,23 @@ jobs:
uses: actions/upload-artifact@v4
with:
retention-days: 1
name: compiled-wheels
name: compiled-wheels-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.python-version }}
path: wheels/


upload-assets:
name: Upload Assets to Release
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

needs: compile-wheels

steps:
- uses: actions/download-artifact@v4
with:
name: compiled-wheels
name: compiled-wheels-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.python-version }}
path: dist/

- uses: AButler/[email protected]
Expand All @@ -121,13 +124,16 @@ jobs:
publish-pypi:
name: Publish packages to PyPi
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

needs: compile-wheels

steps:
- uses: actions/download-artifact@v4
with:
name: compiled-wheels
name: compiled-wheels-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.python-version }}
path: dist/

- uses: pypa/[email protected]
Expand Down