From 7f45ea6029b6c752c7e14d4cf40bc1d0ec5c0f77 Mon Sep 17 00:00:00 2001 From: liamhuber Date: Wed, 6 Dec 2023 14:05:02 -0800 Subject: [PATCH] Revert trusted publisher --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c11aa028..4d17a9c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,11 @@ on: jobs: pypi-release: runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/${{ github.event.repository.name }} - permissions: - id-token: write +# environment: # Add once trusted publisher works with reusable workflows +# name: pypi # Add once trusted publisher works with reusable workflows +# url: https://pypi.org/p/${{ github.event.repository.name }} # Add once trusted publisher works with reusable workflows +# permissions: # Add once trusted publisher works with reusable workflows +# id-token: write # Add once trusted publisher works with reusable workflows steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -33,3 +33,6 @@ jobs: python setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: # Remove once trusted publisher works with reusable workflows + user: __token__ # Remove once trusted publisher works with reusable workflows + password: ${{ secrets.pypi_password }} # Remove once trusted publisher works with reusable workflows