From a22f85fd403d789388957a0da0bf13754a9b6f45 Mon Sep 17 00:00:00 2001 From: bitcloud2 Date: Thu, 25 May 2023 00:37:51 +0000 Subject: [PATCH] pass repository as env variable --- .github/workflows/create-python-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-python-release.yml b/.github/workflows/create-python-release.yml index 72b6a3c..2e4c322 100644 --- a/.github/workflows/create-python-release.yml +++ b/.github/workflows/create-python-release.yml @@ -107,7 +107,8 @@ jobs: - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: + MATURIN_REPOSITORY: testpypi MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TEST_PASS }} with: command: upload - args: --skip-existing * --repository testpypi + args: --skip-existing *