From b0527048c5cb2875ec51b7f1fa8e9c8dedd4abe5 Mon Sep 17 00:00:00 2001 From: Niko Sirmpilatze Date: Fri, 2 Feb 2024 16:24:57 +0000 Subject: [PATCH] Use updated upload_pypi action (#100) --- .../.github/workflows/test_and_deploy.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/{{cookiecutter.package_name}}/.github/workflows/test_and_deploy.yml b/{{cookiecutter.package_name}}/.github/workflows/test_and_deploy.yml index 241341b..279ef85 100644 --- a/{{cookiecutter.package_name}}/.github/workflows/test_and_deploy.yml +++ b/{{cookiecutter.package_name}}/.github/workflows/test_and_deploy.yml @@ -56,11 +56,6 @@ jobs: needs: [build_sdist_wheels] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: neuroinformatics-unit/actions/upload_pypi@v2 with: - name: artifact - path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 - with: - user: __token__ - password: ${{ secrets.TWINE_API_KEY }} + secret-pypi-key: ${{ secrets.TWINE_API_KEY }}