Skip to content

Commit

Permalink
Temporary comment out certain release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila committed Nov 1, 2024
1 parent 099f077 commit a388e49
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a388e49

Please sign in to comment.