diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43f884cbf..da1298e35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -362,6 +362,10 @@ jobs: if: github.event_name == 'push' && contains(github.ref, 'refs/tags') needs: [test, docs] runs-on: ubuntu-latest + environment: release + permissions: + id-token: write + contents: write steps: - name: "Download the library artifacts from build-library step" @@ -370,7 +374,6 @@ jobs: name: ${{ env.PACKAGE_NAME }}-artifacts path: ${{ env.PACKAGE_NAME }}-artifacts - - name: Display structure of downloaded files run: ls -R @@ -379,7 +382,7 @@ jobs: with: repository-url: "https://upload.pypi.org/legacy/" print-hash: true - packages-dir: ${{ env.PACKAGE_NAMEt }}-artifacts + packages-dir: ${{ env.PACKAGE_NAME }}-artifacts skip-existing: false - name: "Release to GitHub"