fix(release): checkout main by ref instead of tag (avoids Gitea ref pattern failure)
CI / cargo fmt --check (push) Successful in 35s
CI / cargo clippy (push) Successful in 39s
CI / cargo test (push) Successful in 50s

This commit is contained in:
gffranco
2026-06-24 02:02:26 +00:00
parent 14301586e0
commit 41381e1ef3
+3 -5
View File
@@ -142,8 +142,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# Build the just-tagged commit, not the branch tip.
ref: ${{ needs.prepare.outputs.tag }}
ref: main
- uses: dtolnay/rust-toolchain@1.83
with:
@@ -201,10 +200,9 @@ jobs:
needs: [prepare, build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
ref: ${{ needs.prepare.outputs.tag }}
fetch-depth: 0
ref: main
- name: Download all build artifacts
# download-artifact@v3 nests each artifact under its own dir