-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52b275f
commit 689b5a3
Showing
2 changed files
with
22 additions
and
5 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 |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: packages | ||
name: packages-${{matrix.os}} | ||
|
||
build_sdist: | ||
name: Build source distribution | ||
|
@@ -53,16 +53,33 @@ jobs: | |
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: dist/*.tar.gz | ||
name: packages | ||
name: packages-source | ||
|
||
upload_pypi: | ||
upload_pypi_wheel: | ||
needs: [build_wheels_linux_mac, build_sdist] | ||
runs-on: ubuntu-latest | ||
name: Upload packages to pypi | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
name: packages-${{matrix.os}} | ||
path: dist | ||
- uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PIPY_PASSWORD }} | ||
|
||
upload_pypi_source: | ||
needs: [build_wheels_linux_mac, build_sdist] | ||
runs-on: ubuntu-latest | ||
name: Upload packages to pypi | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
name: packages | ||
name: packages-source | ||
path: dist | ||
- uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
|
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