Skip to content

Commit 3a57a8e

Browse files
Replaced NIU upload action with separate steps (#72)
1 parent 03e1109 commit 3a57a8e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test_and_deploy.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,14 @@ jobs:
9898
upload_all:
9999
name: Publish build distributions
100100
needs: [build_sdist_wheels]
101+
if: github.event_name == 'push' && github.ref_type == 'tag'
101102
runs-on: ubuntu-latest
102103
steps:
103-
- uses: neuroinformatics-unit/actions/upload_pypi@v2
104+
- uses: actions/download-artifact@v4
105+
with:
106+
name: artifact
107+
path: dist
108+
- uses: pypa/[email protected]
104109
with:
105-
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}
110+
user: __token__
111+
password: ${{ secrets.TWINE_API_KEY }}

0 commit comments

Comments
 (0)