From a388e49f38d0f9f0a775b7e693f7a3657e6ef853 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Fri, 1 Nov 2024 21:10:37 +0530 Subject: [PATCH] Temporary comment out certain release steps --- .github/workflows/release.yml | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 769beeaba8e6e2..8b1496f982ffe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -202,46 +202,46 @@ jobs: name: artifacts-dist-manifest path: dist-manifest.json - custom-publish-pypi: - needs: - - plan - - host - if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }} - uses: ./.github/workflows/publish-pypi.yml - with: - plan: ${{ needs.plan.outputs.val }} - secrets: inherit - # publish jobs get escalated permissions - permissions: - "id-token": "write" - "packages": "write" + # custom-publish-pypi: + # needs: + # - plan + # - host + # if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }} + # uses: ./.github/workflows/publish-pypi.yml + # with: + # plan: ${{ needs.plan.outputs.val }} + # secrets: inherit + # # publish jobs get escalated permissions + # permissions: + # "id-token": "write" + # "packages": "write" - custom-publish-wasm: - needs: - - plan - - host - if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }} - uses: ./.github/workflows/publish-wasm.yml - with: - plan: ${{ needs.plan.outputs.val }} - secrets: inherit - # publish jobs get escalated permissions - permissions: - "contents": "read" - "id-token": "write" - "packages": "write" + # custom-publish-wasm: + # needs: + # - plan + # - host + # if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }} + # uses: ./.github/workflows/publish-wasm.yml + # with: + # plan: ${{ needs.plan.outputs.val }} + # secrets: inherit + # # publish jobs get escalated permissions + # permissions: + # "contents": "read" + # "id-token": "write" + # "packages": "write" # Create a GitHub Release while uploading all files to it announce: needs: - plan - host - - custom-publish-pypi - - custom-publish-wasm + # - custom-publish-pypi + # - custom-publish-wasm # use "always() && ..." to allow us to wait for all publish jobs while # still allowing individual publish jobs to skip themselves (for prereleases). # "host" however must run to completion, no skipping allowed! - if: ${{ always() && needs.host.result == 'success' && (needs.custom-publish-pypi.result == 'skipped' || needs.custom-publish-pypi.result == 'success') && (needs.custom-publish-wasm.result == 'skipped' || needs.custom-publish-wasm.result == 'success') }} + if: ${{ always() && needs.host.result == 'success' }} runs-on: "ubuntu-20.04" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}