Skip to content

Commit 810e815

Browse files
authored
Update _test_release.yml
1 parent 1a0545d commit 810e815

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/_test_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ jobs:
7979
- name: Publish to test PyPI
8080
uses: pypa/gh-action-pypi-publish@release/v1
8181
with:
82+
oidc: false
83+
password: ${{ secrets.TEST_PYPI_API_TOKEN }} # gets ignored if oidc is true
8284
packages-dir: ${{ inputs.working-directory }}/dist/
8385
verbose: true
8486
print-hash: true
85-
repository-url: https://test.pypi.org/legacy/
86-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
87+
repository-url: https://test.pypi.org/legacy/
8788
# We overwrite any existing distributions with the same name and version.
8889
# This is *only for CI use* and is *extremely dangerous* otherwise!
8990
# https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates

0 commit comments

Comments
 (0)