fix(ci): Ensure the Release Crate job fetches the most recent commit before publishing the crate [skip ci]

This commit is contained in:
2024-11-25 19:58:34 -07:00
parent c93543186a
commit 6006c9d0e8
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -120,8 +120,14 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Ensure repository is up-to-date
run: |
git fetch --all
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}