Skip to content

Commit 459563b

Browse files
committed
Switch back to an improved manual tag fetching method
Apparently i'm special and the workaround for actions/checkout#1467 doesn't work for me.
1 parent 45e8509 commit 459563b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: .github/workflows/sources.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
}
2424
- uses: actions/[email protected]
2525
with:
26-
fetch-tags: true
27-
fetch-depth: 1
2826
submodules: recursive
27+
- name: Fetch tags
28+
run: |
29+
git fetch --prune --prune-tags --force --depth=1 --no-recurse-submodules
2930
- uses: msys2/[email protected]
3031
with:
3132
msystem: mingw64
@@ -61,9 +62,10 @@ jobs:
6162
}
6263
- uses: actions/[email protected]
6364
with:
64-
fetch-tags: true
65-
fetch-depth: 1
6665
submodules: recursive
66+
- name: Fetch tags
67+
run: |
68+
git fetch --prune --prune-tags --force --depth=1 --no-recurse-submodules
6769
- name: Create source archive
6870
run: |
6971
git archive "--output=wxFormBuilder-${{ steps.variables.outputs.result }}-source-full.tar" "--prefix=wxFormBuilder-${{ steps.variables.outputs.result }}/" HEAD

0 commit comments

Comments
 (0)