-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced NIU upload action with separate steps (#33)
- Loading branch information
1 parent
0796ba5
commit c7e2f7d
Showing
1 changed file
with
8 additions
and
2 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 |
---|---|---|
|
@@ -55,8 +55,14 @@ jobs: | |
upload_all: | ||
name: Publish build distributions | ||
needs: [build_sdist_wheels] | ||
if: github.event_name == 'push' && github.ref_type == 'tag' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: neuroinformatics-unit/actions/upload_pypi@v2 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifact | ||
path: dist | ||
- uses: pypa/[email protected] | ||
with: | ||
secret-pypi-key: ${{ secrets.TWINE_API_KEY }} | ||
user: __token__ | ||
password: ${{ secrets.TWINE_API_KEY }} |