ci: Refactor conditions to check for branch events

This commit is contained in:
Wolfgang Walther
2024-02-17 17:48:19 +01:00
parent 216ded00c3
commit 53123bdbb4
+1 -1
View File
@@ -240,7 +240,7 @@ jobs:
Build-Cabal-Arm:
name: Build aarch64 (Cabal)
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 }}