Skip to content

Commit

Permalink
Use PROJECT_URL and UPLOAD_URL configured in the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathonReinhart committed Jul 10, 2023
1 parent 79a7139 commit 64a49b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: TestPyPI
url: https://test.pypi.org/project/staticx/
url: ${{ vars.PROJECT_URL }}
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
Expand All @@ -68,4 +68,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
print-hash: true
repository-url: https://test.pypi.org/legacy/
repository-url: ${{ vars.UPLOAD_URL }}

0 comments on commit 64a49b3

Please sign in to comment.