From 8a8ab1d16ba7e928614dbc6dae812276d92122c0 Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Tue, 5 Jul 2022 16:13:08 +0200 Subject: [PATCH] fix ci --- .github/workflows/version_checker.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version_checker.yml b/.github/workflows/version_checker.yml index d117e00..cedabe3 100644 --- a/.github/workflows/version_checker.yml +++ b/.github/workflows/version_checker.yml @@ -10,12 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Version check id: check run: | - mkdir build - cd build + mkdir build + cd build cmake .. || true CMAKE_VERSION="v$(cat CMakeCache.txt | grep '^CMAKE_PROJECT_VERSION\b' | cut -d "=" -f2)" GIT_VERSION=$(git describe --tags --abbrev=0)