From 989d6c17545167bdccd06e6586a182f4c9f4d3f9 Mon Sep 17 00:00:00 2001 From: niksirbi Date: Fri, 2 Feb 2024 16:15:07 +0000 Subject: [PATCH 1/2] Use updated upload_pypi action --- .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 d7dcf21..48e04cf 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@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 }} \ No newline at end of file From dbccf152133b75941269f3e7c637e9da45d5111a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 16:16:10 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/test_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 48e04cf..3a72832 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -58,4 +58,4 @@ jobs: steps: - uses: neuroinformatics-unit/actions/upload_pypi@v2 with: - secret-pypi-key: ${{ secrets.TWINE_API_KEY }} \ No newline at end of file + secret-pypi-key: ${{ secrets.TWINE_API_KEY }}