mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
chore: CI: avoid fetching full repo in PR Release (#12309)
This commit is contained in:
committed by
GitHub
parent
690648d943
commit
12ad957bd5
3
.github/workflows/pr-release.yml
vendored
3
.github/workflows/pr-release.yml
vendored
@@ -61,7 +61,8 @@ jobs:
|
||||
run: |
|
||||
git init --bare lean4.git
|
||||
git -C lean4.git remote add origin https://github.com/${{ github.repository_owner }}/lean4.git
|
||||
git -C lean4.git fetch -n origin master
|
||||
# we only need to fetch the history; note this flag is sticky
|
||||
git -C lean4.git fetch -n origin --filter=tree:0 master
|
||||
git -C lean4.git fetch -n origin "${{ steps.workflow-info.outputs.sourceHeadSha }}"
|
||||
|
||||
# Create both the original tag and the SHA-suffixed tag
|
||||
|
||||
Reference in New Issue
Block a user