Change branches jobs run on

Run gha on "release" branch also
Restrict signing to release branches
This commit is contained in:
Michael Legleux
2022-07-29 12:22:27 -07:00
parent 81f7171368
commit 379c89fb02

View File

@@ -1,9 +1,9 @@
name: Build Clio
on:
push:
branches: [master, develop, develop-next]
branches: [master, release, develop, develop-next]
pull_request:
branches: [master, develop, develop-next]
branches: [master, release, develop, develop-next]
workflow_dispatch:
jobs:
@@ -52,6 +52,7 @@ jobs:
name: Sign packages
needs: build_clio
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' || github.ref == 'refs/heads/develop'
env:
GPG_KEY_B64: ${{ secrets.GPG_KEY_B64 }}
GPG_KEY_PASS_B64: ${{ secrets.GPG_KEY_PASS_B64 }}