Skip to content

Commit d5b1335

Browse files
authored
Use the updated upload_pypi action (#108)
* Bump action versions in upload_pypi workflow step * reuse the upload_pypi action instead of custom steps
1 parent 5cd1922 commit d5b1335

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ jobs:
6262
needs: [build_sdist_wheels]
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/download-artifact@v3
65+
- uses: neuroinformatics-unit/actions/upload_pypi@v2
6666
with:
67-
name: artifact
68-
path: dist
69-
- uses: pypa/[email protected]
70-
with:
71-
user: __token__
72-
password: ${{ secrets.TWINE_API_KEY }}
67+
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}

0 commit comments

Comments
 (0)