From 503c144181c766bd3e0bc932bdf4269019e470ea Mon Sep 17 00:00:00 2001 From: Sarthak Kapoor Date: Tue, 22 Oct 2024 14:14:31 +0200 Subject: [PATCH] Remove github release action --- .github/workflows/publish.yml | 47 ----------------------------------- 1 file changed, 47 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c6e662a..0111185 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,50 +33,3 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - github-release: - name: >- - Sign the Python distribution with Sigstore - and upload them to GitHub Release - runs-on: ubuntu-latest - permissions: - contents: write # IMPORTANT: mandatory for making GitHub Releases - id-token: write # IMPORTANT: mandatory for sigstore - - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.9" - - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user - - name: Build a binary wheel and a source tarball - run: python3 -m build - - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v1.2.3 - 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 }}'