From 13d343bdbf153538797f3a4ab29367ffa9be6964 Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Mon, 16 May 2022 17:52:49 -0500 Subject: [PATCH] ci: Run ARM builds on releases --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eacb891c2..3949245f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -220,7 +220,7 @@ jobs: Build-Cabal-Arm: name: Build aarch64 (Cabal) - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} runs-on: ubuntu-latest outputs: remotepath: ${{ steps.Remote-Dir.outputs.remotepath }} @@ -466,7 +466,7 @@ jobs: needs: - Build-Cabal-Arm - Release-Docker - if: ${{ always() && github.ref == 'refs/heads/main' }} + if: ${{ always() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }} runs-on: ubuntu-latest env: REMOTE_DIR: ${{ needs.Build-Cabal-Arm.outputs.remotepath }}