From 42a72f06035336e71140232a4c209d921ea00d8c Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 17 Feb 2024 17:38:39 +0100 Subject: [PATCH] ci: Refactor conditions to check for branch events --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e95daeb24..d2caf95eb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -252,7 +252,7 @@ jobs: ghc: ['9.2.4'] fail-fast: false name: Build aarch64 (Cabal, GHC ${{ matrix.ghc }}) - if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/rel-') }} + if: "${{ github.event_name == 'push' }}" runs-on: ubuntu-latest outputs: remotepath: ${{ steps.Remote-Dir.outputs.remotepath }}