diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 62e1ea7..61a7978 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -51,16 +51,12 @@ jobs: - uses: neuroinformatics-unit/actions/build_sdist_wheels@v2 + upload_all: name: Publish build distributions needs: [build_sdist_wheels] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 - with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 + - uses: neuroinformatics-unit/actions/upload_pypi@v2 with: - user: __token__ - password: ${{ secrets.TWINE_API_KEY }} + secret-pypi-key: ${{ secrets.TWINE_API_KEY }}