commit 1b7e1ad7882b6c06e1fd50b4aca79bb7540e1050 parent c25a036020dd0002c6b3ba310f7c606121c8d9cf Author: Árni Dagur <arni@dagur.eu> Date: Sat, 25 Apr 2020 23:58:16 -0400 Fix PyPi deployment (#2) Diffstat:
| M | .github/workflows/ci.yml | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -134,9 +134,14 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Test PyPi publish + env: + MATURIN_PASSWORD: ${{ secrets.TEST_PYPI }} + run: poetry run maturin publish -r "https://test.pypi.org/legacy/" --interpreter python${{matrix.python_version}} --username __token__ + - name: PyPi publish if: startsWith(github.ref, 'refs/tags/') env: MATURIN_PASSWORD: ${{ secrets.PYPI }} - run: poetry run maturin publish --username __token__ + run: poetry run maturin publish --interpreter python${{matrix.python_version}} --username __token__