ci: Run ARM builds on releases

This commit is contained in:
Laurence Isla
2022-06-03 22:19:16 -05:00
committed by Steve Chavez
parent 6fc47aa525
commit 13d343bdbf
+2 -2
View File
@@ -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 }}