From 89d8082d6e241bf2f6534156d4756058758cf984 Mon Sep 17 00:00:00 2001 From: Ethan Lew Date: Thu, 9 Mar 2023 17:25:51 -0800 Subject: [PATCH] add test PyPI (#65) --- .github/workflows/publish.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6978cff..995cbeb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish AutoKoopman on: [push] jobs: - build-whl: + publish-whl: runs-on: ubuntu-latest strategy: max-parallel: 5 @@ -34,4 +34,9 @@ jobs: --sdist --wheel --outdir dist/ - . \ No newline at end of file + . + - name: Publish distribution 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.TEST_PYPI_API_TOKEN }} + repository_url: https://test.pypi.org/legacy/ \ No newline at end of file