Skip to content

Commit 46694ff

Browse files
committed
CI: fetch tags to make git-describe work
If git-describe fails, an empty string is assigned to CS_VERSION, which breaks the regression tests that expect csdiff version to be available.
1 parent 75f412e commit 46694ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v3
2727

28+
- name: Fetch tags to make git-describe work
29+
run: git fetch --tags origin
30+
2831
- name: '[clang] Install a default version for Ubuntu ${{ matrix.version }}'
2932
if: matrix.compiler == 'clang++'
3033
run: |

0 commit comments

Comments
 (0)