Skip to content

Commit

Permalink
chore(ci): use pypi trusted publishing
Browse files Browse the repository at this point in the history
Removing the password, as it should not longer be needed now that
trusted publishing is enabled.

Signed-off-by: JP-Ellis <[email protected]>
  • Loading branch information
JP-Ellis committed Jul 23, 2024
1 parent e9b8bf9 commit d4be080
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ jobs:

if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
runs-on: ubuntu-20.04
environment: pypi
environment:
name: pypi
url: https://pypi.org/p/pact-python

needs:
- build-sdist
Expand Down Expand Up @@ -247,7 +249,6 @@ jobs:
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
with:
skip-existing: true
password: ${{ secrets.PYPI_TOKEN }}
packages-dir: wheels

- name: Create PR for changelog update
Expand Down

0 comments on commit d4be080

Please sign in to comment.