ci: run on branches starting with "rel-"

This commit is contained in:
Laurence Isla
2022-05-30 22:38:05 -05:00
committed by GitHub
parent c812a3fe3e
commit e4cdb8c491
+4 -2
View File
@@ -4,11 +4,13 @@ on:
push: push:
branches: branches:
- main - main
- rel-*
tags: tags:
- v* - v*
pull_request: pull_request:
branches: branches:
- main - main
- rel-*
jobs: jobs:
Lint-Style: Lint-Style:
@@ -220,7 +222,7 @@ jobs:
Build-Cabal-Arm: Build-Cabal-Arm:
name: Build aarch64 (Cabal) 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 runs-on: ubuntu-latest
outputs: outputs:
remotepath: ${{ steps.Remote-Dir.outputs.remotepath }} remotepath: ${{ steps.Remote-Dir.outputs.remotepath }}
@@ -466,7 +468,7 @@ jobs:
needs: needs:
- Build-Cabal-Arm - Build-Cabal-Arm
- Release-Docker - 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 runs-on: ubuntu-latest
env: env:
REMOTE_DIR: ${{ needs.Build-Cabal-Arm.outputs.remotepath }} REMOTE_DIR: ${{ needs.Build-Cabal-Arm.outputs.remotepath }}