mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
GitHub Actions: only build pushes into and PR against master
This should fix the odd double builds for people who create branches for pull requests in the main repository. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f83505b554
commit
de1e439110
6 changed files with 42 additions and 6 deletions
8
.github/workflows/android.yml
vendored
8
.github/workflows/android.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: Android
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
buildInContainer:
|
||||
|
|
8
.github/workflows/ios.yml
vendored
8
.github/workflows/ios.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: iOS
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
mobileBuild:
|
||||
|
|
8
.github/workflows/linux-bionic-5.9.yml
vendored
8
.github/workflows/linux-bionic-5.9.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: Linux Qt 5.9
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
buildOnBionic:
|
||||
|
|
8
.github/workflows/linux-trusty-5.12.yml
vendored
8
.github/workflows/linux-trusty-5.12.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: Linux Qt 5.12
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
buildInContainer:
|
||||
|
|
8
.github/workflows/mac.yml
vendored
8
.github/workflows/mac.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: Mac
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
desktopBuild:
|
||||
|
|
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: Windows
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
buildInContainer:
|
||||
|
|
Loading…
Add table
Reference in a new issue