Skip to content

Commit 89c411f

Browse files
authored
Temporarily drop crates-publish from the release for 0.9.15 re-run (#16945)
See #16944 The `crates.io` publish succeeded and is not idempotent (i.e., it'll fail on another publish attempt) so we will skip it for a re-run of the release workflow.
1 parent 18a3652 commit 89c411f

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -222,30 +222,16 @@ jobs:
222222
"id-token": "write"
223223
"packages": "write"
224224

225-
custom-publish-crates:
226-
needs:
227-
- plan
228-
- host
229-
if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
230-
uses: ./.github/workflows/publish-crates.yml
231-
with:
232-
plan: ${{ needs.plan.outputs.val }}
233-
secrets: inherit
234-
# publish jobs get escalated permissions
235-
permissions:
236-
"contents": "read"
237-
238225
# Create a GitHub Release while uploading all files to it
239226
announce:
240227
needs:
241228
- plan
242229
- host
243230
- custom-publish-pypi
244-
- custom-publish-crates
245231
# use "always() && ..." to allow us to wait for all publish jobs while
246232
# still allowing individual publish jobs to skip themselves (for prereleases).
247233
# "host" however must run to completion, no skipping allowed!
248-
if: ${{ always() && needs.host.result == 'success' && (needs.custom-publish-pypi.result == 'skipped' || needs.custom-publish-pypi.result == 'success') && (needs.custom-publish-crates.result == 'skipped' || needs.custom-publish-crates.result == 'success') }}
234+
if: ${{ always() && needs.host.result == 'success' && (needs.custom-publish-pypi.result == 'skipped' || needs.custom-publish-pypi.result == 'success') }}
249235
runs-on: "depot-ubuntu-latest-4"
250236
permissions:
251237
"attestations": "write"

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ build-local-artifacts = false
5757
# Local artifacts jobs to run in CI
5858
local-artifacts-jobs = ["./build-binaries", "./build-docker"]
5959
# Publish jobs to run in CI
60-
publish-jobs = ["./publish-pypi", "./publish-crates"]
60+
publish-jobs = ["./publish-pypi"]
6161
# Post-announce jobs to run in CI
6262
post-announce-jobs = ["./publish-docs"]
6363
# Custom permissions for GitHub Jobs

0 commit comments

Comments
 (0)