Skip to content

Commit 53933ea

Browse files
committed
Fix publish checkout failing on annotated tags
Replace fetch-tags with fetch-depth: 0 to avoid the actions/checkout conflict when the tag ref and commit SHA point to the same refname.
1 parent e721641 commit 53933ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777
- uses: actions/checkout@v4
7878
with:
79-
fetch-tags: true
79+
fetch-depth: 0
8080

8181
- name: Setup .NET
8282
uses: actions/setup-dotnet@v4

0 commit comments

Comments
 (0)