-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pattern match for all artifacts (#239)
* Pattern match for all artifacts * Bump package * filter at build command
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 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 |
---|---|---|
|
@@ -205,7 +205,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
overwrite: true | ||
name: linux-${{ matrix.target }}-wheels-${{ github.run_id }} | ||
name: release-wheel-linux-${{ matrix.target }}-${{ github.run_id }} | ||
path: dist | ||
|
||
build-windows: | ||
|
@@ -231,7 +231,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
overwrite: true | ||
name: windows-${{ matrix.target }}-wheels-${{ github.run_id }} | ||
name: release-wheel-windows-${{ matrix.target }}-${{ github.run_id }} | ||
path: dist | ||
|
||
build-macos: | ||
|
@@ -256,7 +256,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
overwrite: true | ||
name: macos-${{ matrix.target }}-wheels-${{ github.run_id }} | ||
name: release-wheel-macos-${{ matrix.target }}-${{ github.run_id }} | ||
path: dist | ||
|
||
sdist: | ||
|
@@ -274,7 +274,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
overwrite: true | ||
name: wheels-${{ github.run_id }} | ||
name: release-sdist-${{ github.run_id }} | ||
path: dist | ||
|
||
release: | ||
|
@@ -285,12 +285,12 @@ jobs: | |
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: wheels-${{ github.run_id }} | ||
pattern: release-*-${{ github.run_id }} | ||
- name: Publish to PyPI | ||
uses: PyO3/maturin-action@v1 | ||
env: | ||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} | ||
with: | ||
command: upload | ||
maturin-version: 1.7.1 | ||
args: --skip-existing * | ||
args: --skip-existing release-*-${{ github.run_id }}/*.* |
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