Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 3a20569

Browse files
Merge pull request #1 from neuroinformatics-unit/replace-upload-action
Replaced NIU upload action with separate steps
2 parents eb0ef71 + 3d43c0f commit 3a20569

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test_and_deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,14 @@ jobs:
4848
upload_all:
4949
name: Publish build distributions
5050
needs: [build_sdist_wheels]
51+
if: github.event_name == 'push' && github.ref_type == 'tag'
5152
runs-on: ubuntu-latest
5253
steps:
53-
- uses: neuroinformatics-unit/actions/upload_pypi@v2
54+
- uses: actions/download-artifact@v4
55+
with:
56+
name: artifact
57+
path: dist
58+
- uses: pypa/gh-action-pypi-publish@v1.12.3
5459
with:
55-
secret-pypi-key: ${{ secrets.TWINE_API_KEY }}
60+
user: __token__
61+
password: ${{ secrets.TWINE_API_KEY }}

0 commit comments

Comments
 (0)