aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-04-15 11:30:14 +0200
committerGitHub <noreply@github.com>2020-04-15 11:30:14 +0200
commit1c756843f042644d045ab63835101e2cbe5b57bf (patch)
tree9ddafa3ac902b24b7b6560bcaf7b486e99dbfee8
parent1b5e53f1df15a76883dcf8859a466aeee557c766 (diff)
parentfa1558319bbce195324fe4123f5a941cad9cafd3 (diff)
Merge pull request #588 from rzumer/gh-master
Disable CI on non-master branches
-rw-r--r--.github/workflows/build-ubuntu.yml8
-rw-r--r--.github/workflows/build-windows.yml8
2 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml
index fed0f3e..b57c5b7 100644
--- a/.github/workflows/build-ubuntu.yml
+++ b/.github/workflows/build-ubuntu.yml
@@ -1,6 +1,12 @@
name: CMake Build (Ubuntu x86-64)
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
env:
BUILD_TYPE: Release
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
index c7d05d0..ec14e30 100644
--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -1,6 +1,12 @@
name: CMake Build (Windows x86-64)
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
env:
BUILD_TYPE: Release