fix(ci): fix fetching tags in Build workflow (#13517)
Ilya Mashchenko committed
Aug 14, 2022 at 00:09 UTC
dd6dd32a09d15c297190eec4965109bfd43f51ea
1 file changed
+2
-2
.github/workflows/build.yml
+2
-2
@@ -36,7 +36,7 @@ jobs:
36
id: fix-tags
37
if: github.event_name != 'push'
38
run: |
39
- git fetch -f origin ${{ github.ref }}:${{ github.ref }}
39
+ git fetch --tags --force
40
- name: Mark Stable
41
id: channel
42
if: github.event_name == 'workflow_dispatch' && github.event.inputs.type != 'nightly'
@@ -111,7 +111,7 @@ jobs:
111
id: fix-tags
112
if: github.event_name != 'push'
113
run: |
114
- git fetch -f origin ${{ github.ref }}:${{ github.ref }}
114
+ git fetch --tags --force
115
- name: Mark Stable
116
id: channel
117
if: github.event_name == 'workflow_dispatch' && github.event.inputs.type != 'nightly'