Skip to content

Commit 82b4dff

Browse files
Replaced NIU upload action with separate steps (#47)
1 parent 1fd53aa commit 82b4dff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ jobs:
5757
upload_all:
5858
name: Publish build distributions
5959
needs: [build_sdist_wheels]
60+
if: github.event_name == 'push' && github.ref_type == 'tag'
6061
runs-on: ubuntu-latest
6162
steps:
62-
- uses: neuroinformatics-unit/actions/upload_pypi@v2
63+
- uses: actions/download-artifact@v4
64+
with:
65+
name: artifact
66+
path: dist
67+
- uses: pypa/gh-action-pypi-publish@v1.12.3
6368
with:
64-
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}
69+
user: __token__
70+
password: ${{ secrets.TWINE_API_KEY }}

0 commit comments

Comments
 (0)