From 2bde0c6e92ac8deb06d301a7c39f916c02a232a8 Mon Sep 17 00:00:00 2001 From: Moritz Heinemann Date: Wed, 28 Aug 2024 17:26:37 +0200 Subject: [PATCH] avoid using always() in GitHub Actions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1062f7a1d4..534707a441 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -113,7 +113,7 @@ jobs: CXX: ${{ matrix.job.cxx }} VCPKG_BINARY_SOURCES: "clear;http,https://vcpkg-cache.megamol.org/{triplet}-{name}-{sha},readwrite,Authorization: Token ${{ secrets.CACHING_SERVER_SECRET }}" build_windows: - if: ${{ always() }} + if: ${{ !cancelled() }} needs: vcpkg_cache strategy: fail-fast: false @@ -145,7 +145,7 @@ jobs: - name: Build run: cmake --build $GITHUB_WORKSPACE/build --config ${{ matrix.job.configuration }} --parallel 2 build_linux: - if: ${{ always() }} + if: ${{ !cancelled() }} needs: vcpkg_cache strategy: fail-fast: false