From d4be080a0c10455334ae8874cae81641315a52ac Mon Sep 17 00:00:00 2001 From: JP-Ellis Date: Mon, 22 Jul 2024 18:51:10 +1000 Subject: [PATCH] chore(ci): use pypi trusted publishing Removing the password, as it should not longer be needed now that trusted publishing is enabled. Signed-off-by: JP-Ellis --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index acb4dd1d0..9f2bae35f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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