Skip to content

Commit

Permalink
Use the updated upload_pypi action (#108)
Browse files Browse the repository at this point in the history
* Bump action versions in upload_pypi workflow step

* reuse the upload_pypi action instead of custom steps
  • Loading branch information
niksirbi authored Feb 7, 2024
1 parent 5cd1922 commit d5b1335
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ jobs:
needs: [build_sdist_wheels]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: neuroinformatics-unit/actions/upload_pypi@v2
with:
name: artifact
path: dist
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.TWINE_API_KEY }}
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}

0 comments on commit d5b1335

Please sign in to comment.