From 3b83564f4215dd5b6a8d51fe601b082023d6bc42 Mon Sep 17 00:00:00 2001 From: Nilsen84 <56961087+nilsen84@users.noreply.github.com> Date: Mon, 6 Jun 2022 23:46:45 +0200 Subject: [PATCH] Fix CI --- .github/workflows/build.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 244cef2..d7f7b23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,8 +20,9 @@ jobs: steps: - uses: actions/checkout@v3 - with: - fetch-depth: 0 + + - name: Fetch Tags + run: git fetch --prune --tags -f - name: Install Qt & MinGW uses: jurplel/install-qt-action@v2.14.0 @@ -74,8 +75,9 @@ jobs: steps: - uses: actions/checkout@v3 - with: - fetch-depth: 0 + + - name: Fetch Tags + run: git fetch --prune --tags -f - name: Install Qt uses: jurplel/install-qt-action@v2.14.0 @@ -118,12 +120,13 @@ jobs: pacman -Syu --noconfirm --needed qt5-base qt5-svg cmake base-devel git jq - uses: actions/checkout@v3 - with: - fetch-depth: 0 - name: Mark Repository as Safe run: git config --global safe.directory "$GITHUB_WORKSPACE" + - name: Fetch Tags + run: git fetch --prune --tags -f + - name: Configure CMake run: cmake . -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}