Skip to content

Commit 38fe5fd

Browse files
committed
upload to testpypi by default to make sure the action works
1 parent 9bec59c commit 38fe5fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-wheels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,9 @@ jobs:
255255
with:
256256
subject-path: 'dist/*'
257257
- name: Publish to PyPI
258-
if: github.event_name == 'workflow_dispatch' && inputs.release
259258
uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # 1.50.1
260259
with:
261260
command: upload
262261
args: --non-interactive --skip-existing dist/*
262+
env:
263+
MATURIN_REPOSITORY: ${{ (github.event_name == 'workflow_dispatch' && inputs.release) && 'pypi' || 'testpypi' }}

0 commit comments

Comments
 (0)