From d8085d41fbb0a4934c175080047127d46fac5a8b Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Mon, 30 May 2022 22:38:05 -0500 Subject: [PATCH] ci: run on branches starting with "rel-" --- .github/workflows/ci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3949245f7..b8c27f35f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,11 +4,13 @@ on: push: branches: - main + - rel-* tags: - v* pull_request: branches: - main + - rel-* jobs: Lint-Style: @@ -220,7 +222,7 @@ jobs: Build-Cabal-Arm: name: Build aarch64 (Cabal) - if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/rel-') }} runs-on: ubuntu-latest outputs: remotepath: ${{ steps.Remote-Dir.outputs.remotepath }} @@ -466,7 +468,7 @@ jobs: needs: - Build-Cabal-Arm - Release-Docker - if: ${{ always() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }} + if: ${{ always() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/rel-')) }} runs-on: ubuntu-latest env: REMOTE_DIR: ${{ needs.Build-Cabal-Arm.outputs.remotepath }}