Skip to content

Commit

Permalink
‼️(CI): add dev tag to testpypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Mar 10, 2024
1 parent 85c08d6 commit 909b592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ jobs:
with:
files: |
*.whl
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'dev') }}
- name: Publish to TestPyPI
if: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
if: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'dev') }}
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.TESTPYPI_API_TOKEN }}
Expand All @@ -264,7 +264,7 @@ jobs:
command: upload
args: --non-interactive --skip-existing *
- name: Publish to PyPI
if: ${{ !contains(github.ref, 'alpha') && !contains(github.ref, 'beta') }}
if: ${{ !contains(github.ref, 'alpha') && !contains(github.ref, 'beta') && !contains(github.ref, 'dev') }}
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit 909b592

Please sign in to comment.