Skip to content

Commit

Permalink
Replaced NIU upload action with separate steps (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov authored Jan 27, 2025
1 parent 8423898 commit bcdb516
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,14 @@ jobs:
upload_all:
name: Publish build distributions
needs: [build_sdist_wheels]
runs-on: ubuntu-latest
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/gh-action-pypi-publish@v1.12.3
with:
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}
user: __token__
password: ${{ secrets.TWINE_API_KEY }}

0 comments on commit bcdb516

Please sign in to comment.