From caa6e17b53de6bedc65074ea781f6eb1434b8ea7 Mon Sep 17 00:00:00 2001 From: kdesnos Date: Tue, 12 Oct 2021 09:04:01 +0200 Subject: [PATCH] (CI) Fix build on tag. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f91c72bc..27aedc08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: cmake --build . --target GEGELATI --config Debug cmake --build . --target doc cmake --build . --target INSTALL --config Debug - if [ ${GITHUB_REF##*/} == "develop" ] || [ ${GITHUB_REF##*/} == "master" ] || [[ "${{ github.base_ref }}" == *"tags/v"* ]]; then cmake --build . --target INSTALL --config Release ; fi; + if [[ "${{ github.ref }}" == *"master" ]] || [[ "${{ github.ref }}" == *"develop" ]] || [[ "${{ github.ref }}" == *"tags/v"* ]]; then cmake --build . --target INSTALL --config Release ; fi; cmake --build . --target runTests --config Debug shell: bash - name: Run Tests