generate using cargo-dist

This commit is contained in:
Dhruv Manilawala
2024-11-01 21:20:33 +05:30
parent a388e49f38
commit 11c3b52fd5
2 changed files with 1 additions and 32 deletions

View File

@@ -202,42 +202,11 @@ 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-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
# 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!