diff options
| author | Árni Dagur <agudmundsson@fc-md.umd.edu> | 2020-04-25 16:12:39 -0400 |
|---|---|---|
| committer | Árni Dagur <agudmundsson@fc-md.umd.edu> | 2020-04-25 16:12:39 -0400 |
| commit | 7a7e1ea918867cb28d84cd7b129e737fd80bec58 (patch) | |
| tree | 899581982f8609b99a61e6f79709c038f4cc5086 /.github | |
| parent | 94f70424db2ad99c1753ed011b96418e81b524d8 (diff) | |
Use same publishing criteria for Github and PyPi in CICD
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d01138..5c08513 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml | |||
| @@ -134,7 +134,7 @@ jobs: | |||
| 134 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 134 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 135 | 135 | ||
| 136 | - name: PyPi publish | 136 | - name: PyPi publish |
| 137 | if: github.event_name == 'release' && github.event.action == 'created' | 137 | if: startsWith(github.ref, 'refs/tags/') |
| 138 | env: | 138 | env: |
| 139 | MATURIN_PASSWORD: ${{ secrets.PYPI }} | 139 | MATURIN_PASSWORD: ${{ secrets.PYPI }} |
| 140 | run: poetry run maturin publish --username __token__ | 140 | run: poetry run maturin publish --username __token__ |
