Skip to content

Commit

Permalink
ci: Refactor conditions to check for branch events
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangwalther committed Feb 17, 2024
1 parent b3600a2 commit 42a72f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 42a72f0

Please sign in to comment.