Skip to content

Commit 78b1735

Browse files
committed
workflows: get PyPI upload URL from var in GitHub environment
Make it easier for forks to upload to TestPyPI. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 854484b commit 78b1735

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ jobs:
240240
uses: pypa/gh-action-pypi-publish@release/v1
241241
with:
242242
packages-dir: ${{ needs.pre-commit.outputs.dist-base }}
243+
repository-url: ${{ vars.PYPI_URL }}
243244
- name: Release to GitHub
244245
env:
245246
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)