Skip to content

Commit c868466

Browse files
ewelsclaude
andcommitted
fix: add checkout to upload-binaries, update Cargo.lock, reorder crate publish
- upload-binaries needs a checkout so gh can detect the repo - Cargo.lock was stale (still referenced 0.2.0) - publish-crate now runs after upload-binaries (last step) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 96b1f46 commit c868466

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ jobs:
384384
needs: [check-release, create-tag-and-release, build-binaries]
385385
runs-on: ubuntu-latest
386386
steps:
387+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6.0.2
388+
387389
- name: Download all binary artifacts
388390
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # ratchet:actions/download-artifact@v8.0.1
389391
with:
@@ -400,12 +402,12 @@ jobs:
400402
/tmp/binaries/*.sha256
401403
402404
# ------------------------------------------------------------------
403-
# 5. Publish to crates.io (release only, after all builds)
405+
# 5. Publish to crates.io (release only, last step)
404406
# ------------------------------------------------------------------
405407
publish-crate:
406408
name: Publish to crates.io
407409
if: needs.check-release.outputs.is_release == 'true'
408-
needs: [check-release, create-tag-and-release]
410+
needs: [check-release, upload-binaries]
409411
runs-on: ubuntu-latest
410412
permissions:
411413
id-token: write

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)