From 61b61be0deca4d5eeeacf9aab18e7ac8e154346e Mon Sep 17 00:00:00 2001 From: Niko Sirmpilatze Date: Thu, 1 Feb 2024 13:09:06 +0000 Subject: [PATCH] reuse pypi upload action (#13) --- .github/workflows/test_and_deploy.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 1eb73a5..f9c6748 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -56,11 +56,6 @@ jobs: needs: [build_sdist_wheels] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v4 + - uses: neuroinformatics-unit/actions/upload_pypi@reuse-pypi-upload with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@v1.8.11 - with: - user: __token__ - password: ${{ secrets.BTB_UPLOAD_API_KEY }} + secret_name: BTB_UPLOAD_API_KEY