Skip to content

Commit

Permalink
Replaced NIU upload action with separate steps (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov authored Jan 28, 2025
1 parent 0796ba5 commit c7e2f7d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c7e2f7d

Please sign in to comment.