diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 644554b..b05a20a 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -11,9 +11,6 @@ concurrency: jobs: build-test-publish-to-pypi: - environment: release - permissions: - id-token: write uses: ./.github/workflows/publish-packages.yml with: upload_to_test: false diff --git a/.github/workflows/deploy-test-pypi.yml b/.github/workflows/deploy-test-pypi.yml index 28ce84d..3312245 100644 --- a/.github/workflows/deploy-test-pypi.yml +++ b/.github/workflows/deploy-test-pypi.yml @@ -11,13 +11,6 @@ concurrency: jobs: build-test-publish-to-testpypi: - name: Upload to TestPyPI - runs-on: ubuntu-latest - environment: release - permissions: - id-token: write - steps: - - name: Upload - uses: ./.github/workflows/publish-packages.yml - with: - upload_to_test: true + uses: ./.github/workflows/publish-packages.yml + with: + upload_to_test: true diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 64a02ab..2eff004 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -9,6 +9,9 @@ on: jobs: build: runs-on: ubuntu-latest + environment: release + permissions: + id-token: write steps: - name: Check out repo uses: actions/checkout@v3