From fe0dc93b67e025b9f7bd945367b11de919aa94a2 Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Thu, 1 Aug 2024 14:03:30 +0300 Subject: [PATCH] Debug double release creation --- .github/workflows/release.yml | 49 ++++++++++++++++------------------- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c29026..c848966 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,30 +59,25 @@ jobs: base64-subjects: "${{ needs.build.outputs.hashes }}" upload-assets: true - create-github-release: - # Upload the sdist, wheels, and provenance to a GitHub release. They remain - # available as build artifacts for a while as well. - name: "Create GitHub release" - needs: [ provenance ] - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: "Checkout repository" - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - fetch-depth: 0 - - - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 - - - name: Create a GitHub release - run: > - gh release create "${{ github.ref_name }}" \ - dist/* \ - --repo "${{ github.repository }}" \ - --title "${{ github.ref_name }}" \ - --draft \ - --verify-tag \ - --generate-notes - env: - GH_TOKEN: ${{ github.token }} +# create-github-release: +# # Upload the sdist, wheels, and provenance to a GitHub release. They remain +# # available as build artifacts for a while as well. +# name: "Create GitHub release" +# needs: [ provenance ] +# runs-on: ubuntu-latest +# permissions: +# contents: write +# steps: +# - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 +# +# - name: Create a GitHub release +# run: > +# gh release create "${{ github.ref_name }}" \ +# dist/* \ +# --repo "${{ github.repository }}" \ +# --title "${{ github.ref_name }}" \ +# --draft \ +# --verify-tag \ +# --generate-notes +# env: +# GH_TOKEN: ${{ github.token }}