Skip to content

Commit 68b7360

Browse files
Use env var to set maturin repository
Attempts at using args failed.
1 parent 1aaec1e commit 68b7360

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ jobs:
185185
subject-path: 'wheels-*/*'
186186
- name: Publish to PyPI
187187
uses: PyO3/maturin-action@v1
188+
env:
189+
MATURIN_REPOSITORY: testpypi
188190
with:
189191
command: upload
190-
# Using test.pypi until confirmed to work:
191-
args: --non-interactive --repository testpypi --skip-existing wheels-*/*
192+
args: --non-interactive --skip-existing wheels-*/*

0 commit comments

Comments
 (0)