generated from ydataai/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(actions): unique name for each wheel uploaded to the artifacts (#…
…127)
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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] | ||
|