summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorÁrni Dagur <arni@dagur.eu>2020-04-25 23:58:16 -0400
committerGitHub <noreply@github.com>2020-04-25 23:58:16 -0400
commit1b7e1ad7882b6c06e1fd50b4aca79bb7540e1050 (patch)
treec126c05480fff0a4fc06295558a5c997735373f1 /.github/workflows/ci.yml
parentc25a036020dd0002c6b3ba310f7c606121c8d9cf (diff)
Fix PyPi deployment (#2)
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 918cb22..56505c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -134,9 +134,14 @@ jobs:
134 env: 134 env:
135 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 135 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136 136
137 - name: Test PyPi publish
138 env:
139 MATURIN_PASSWORD: ${{ secrets.TEST_PYPI }}
140 run: poetry run maturin publish -r "https://test.pypi.org/legacy/" --interpreter python${{matrix.python_version}} --username __token__
141
137 - name: PyPi publish 142 - name: PyPi publish
138 if: startsWith(github.ref, 'refs/tags/') 143 if: startsWith(github.ref, 'refs/tags/')
139 env: 144 env:
140 MATURIN_PASSWORD: ${{ secrets.PYPI }} 145 MATURIN_PASSWORD: ${{ secrets.PYPI }}
141 run: poetry run maturin publish --username __token__ 146 run: poetry run maturin publish --interpreter python${{matrix.python_version}} --username __token__
142 147