From 44d14a436bf33c76288ca22bd9a787aca8120dd0 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 3 Nov 2023 14:13:36 -0500 Subject: CI: Reduce duplicate builds --- .github/workflows/flatpak-build.yml | 9 ++++++++- .github/workflows/msys-build.yml | 8 +++++++- .github/workflows/ubuntu-build.yml | 9 ++++++++- .github/workflows/windows-build.yml | 8 +++++++- 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flatpak-build.yml b/.github/workflows/flatpak-build.yml index 66cd890b..2d4d62ba 100644 --- a/.github/workflows/flatpak-build.yml +++ b/.github/workflows/flatpak-build.yml @@ -1,5 +1,12 @@ name: Flatpak Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master + jobs: flatpak_build: runs-on: ubuntu-latest diff --git a/.github/workflows/msys-build.yml b/.github/workflows/msys-build.yml index 580c6aef..08c029b1 100644 --- a/.github/workflows/msys-build.yml +++ b/.github/workflows/msys-build.yml @@ -1,5 +1,11 @@ name: MSYS2 Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: msys2_build: diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml index 0e8deb34..cb6b5faa 100644 --- a/.github/workflows/ubuntu-build.yml +++ b/.github/workflows/ubuntu-build.yml @@ -1,5 +1,12 @@ name: Ubuntu Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master + jobs: ubuntu_build: runs-on: ubuntu-20.04 diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 18aca7ca..3ba01e8b 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -1,5 +1,11 @@ name: Windows Build -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: windows_build: -- cgit 1.4.1