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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# Build the just-tagged commit, not the branch tip.
|
ref: main
|
||||||
ref: ${{ needs.prepare.outputs.tag }}
|
|
||||||
|
|
||||||
- uses: dtolnay/rust-toolchain@1.83
|
- uses: dtolnay/rust-toolchain@1.83
|
||||||
with:
|
with:
|
||||||
@@ -201,10 +200,9 @@ jobs:
|
|||||||
needs: [prepare, build]
|
needs: [prepare, build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ needs.prepare.outputs.tag }}
|
ref: main
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Download all build artifacts
|
- name: Download all build artifacts
|
||||||
# download-artifact@v3 nests each artifact under its own dir
|
# download-artifact@v3 nests each artifact under its own dir
|
||||||
|
|||||||
Reference in New Issue
Block a user