Skip to content

Commit

Permalink
Merge pull request #112 from brainglobe/replace-upload-action
Browse files Browse the repository at this point in the history
Replaced NIU upload action with separate steps
  • Loading branch information
alessandrofelder authored Jan 27, 2025
2 parents 0f40041 + 6a94ad6 commit c23bb89
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 @@ -124,8 +124,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/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 c23bb89

Please sign in to comment.