From 39f5f5bd7c87a9067dd9f756c81481d08cb536b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gl=C3=A4=C3=9Fle?= Date: Thu, 23 Nov 2023 15:28:13 +0100 Subject: [PATCH] Test release --- .github/workflows/python-package.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 9cb021b..17fe0d3 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -43,15 +43,14 @@ jobs: - uses: actions/upload-artifact@v3 with: {name: dist, path: dist/} - if: startsWith(github.ref, 'refs/tags/v') && - matrix.os == 'ubuntu-20.04' && + if: matrix.os == 'ubuntu-20.04' && matrix.python == '3.9' deploy: name: Upload release runs-on: ubuntu-latest needs: build - if: startsWith(github.ref, 'refs/tags/v') && success() + # if: startsWith(github.ref, 'refs/tags/v') && success() environment: name: pypi permissions: @@ -61,3 +60,5 @@ jobs: - uses: actions/download-artifact@v3 with: {name: dist, path: dist/} - uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy