summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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