fix(release): checkout main by ref instead of tag (avoids Gitea ref pattern failure)
This commit is contained in:
@@ -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:
|
||||
@@ -203,8 +202,7 @@ jobs:
|
||||
steps:
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user