Skip to content

Commit

Permalink
generate using cargo-dist
Browse files Browse the repository at this point in the history
dhruvmanila committed Nov 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a388e49 commit 11c3b52
Showing 2 changed files with 1 addition and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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!
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -293,7 +293,7 @@ build-local-artifacts = false
# Local artifacts jobs to run in CI
local-artifacts-jobs = ["./build-binaries", "./build-docker"]
# Publish jobs to run in CI
publish-jobs = ["./publish-pypi", "./publish-wasm"]
# publish-jobs = ["./publish-pypi", "./publish-wasm"]
# Post-announce jobs to run in CI
post-announce-jobs = [
"./notify-dependents",

0 comments on commit 11c3b52

Please sign in to comment.