From f800dc7b88a1f0a08cad92ea51fbdfb1c105a1ec Mon Sep 17 00:00:00 2001 From: Matteo Cencini <83717049+mcencini@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:38:01 +0100 Subject: [PATCH] Update tags-release.yml --- .github/workflows/tags-release.yml | 43 ------------------------------ 1 file changed, 43 deletions(-) diff --git a/.github/workflows/tags-release.yml b/.github/workflows/tags-release.yml index 5a74d44..fd92a89 100644 --- a/.github/workflows/tags-release.yml +++ b/.github/workflows/tags-release.yml @@ -50,46 +50,3 @@ jobs: path: dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - github-release: - name: >- - Sign the Python 🐍 distribution 📦 with Sigstore - and upload them to GitHub Release - needs: - - publish-to-pypi - runs-on: ubuntu-latest - - permissions: - contents: write # IMPORTANT: mandatory for making GitHub Releases - id-token: write # IMPORTANT: mandatory for sigstore - - steps: - - name: Download all the dists - uses: actions/download-artifact@v4 - with: - name: python-package-distributions - path: dist/ - - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v3.0.0 - with: - inputs: >- - ./dist/*.tar.gz - ./dist/*.whl - - name: Create GitHub Release - env: - GITHUB_TOKEN: ${{ github.token }} - run: >- - gh release create - '${{ github.ref_name }}' - --repo '${{ github.repository }}' - --notes "" - - name: Upload artifact signatures to GitHub Release - env: - GITHUB_TOKEN: ${{ github.token }} - # Upload to GitHub Release using the `gh` CLI. - # `dist/` contains the built packages, and the - # sigstore-produced signatures and certificates. - run: >- - gh release upload - '${{ github.ref_name }}' dist/** - --repo '${{ github.repository }}'