diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90eeb71..52d99e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,7 @@ jobs: needs: call-test-workflow permissions: contents: write + id-token: write steps: - uses: actions/checkout@v6 - name: Set up Python 3.10 @@ -27,7 +28,7 @@ jobs: python-version: "3.12" - name: Bump version and push tag - uses: anothrNick/github-tag-action@1.64.0 + uses: anothrNick/github-tag-action@v1 if: ${{ !startsWith(github.ref, 'refs/tags/') }} id: tag env: @@ -48,7 +49,7 @@ jobs: run: echo "TAG_NAME=${{ github.ref_name }}" >> $GITHUB_ENV - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3 with: tag_name: ${{ env.TAG_NAME }} name: ${{ env.TAG_NAME }} @@ -56,6 +57,3 @@ jobs: - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }}