Skip to content

Commit b2ca0a1

Browse files
committed
fix: Attempt to workaround actions/checkout#1467 (2)
Currently, the checkout GitHub Action failed to check out when both `fetch-depth` and `fetch-tags` are specified during a tag push event(actions/checkout#1467). This patch workarounds the issue by manually do the tag fetch afterwards. Refer-to: Can't fetch with `fetch-tags` when triggered by tag · Issue #1467 · actions/checkout <actions/checkout#1467> Refer-to: Switch back to an improved manual tag fetching method · wxFormBuilder/wxFormBuilder@459563b <wxFormBuilder/wxFormBuilder@459563be8> Signed-off-by: 林博仁(Buo-ren, Lin) <[email protected]>
1 parent a47d779 commit b2ca0a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
run: |-
3636
git fetch \
3737
--prune \
38+
--prune-tags \
39+
--force \
3840
--depth=1 \
3941
--no-recurse-submodules
4042

0 commit comments

Comments
 (0)