From b80608f489f147d189b81817425f07e42f471411 Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Sun, 15 Oct 2023 21:46:02 +0100 Subject: [PATCH] Publish release to TestPyPI --- .github/workflows/python-package.yml | 4 ++-- .github/workflows/python-publish.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c1505ca..64eb0da 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -5,9 +5,9 @@ name: Python package on: push: - branches: [ "main" ] + branches: [ "gh-actions" ] pull_request: - branches: [ "main" ] + branches: [ "gh-actions" ] jobs: build: diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 11de053..64149cf 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -32,4 +32,5 @@ jobs: - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: - password: ${{ secrets.PYPI_API_TOKEN }} + repository-url: https://test.pypi.org/legacy/ + password: ${{ secrets.TEST_PYPI_API_TOKEN }}