ソースを参照

Fix Github actions duplicate builds

We were building for any commits AND pull requests. This change makes it
so we only build for commits to master AND pull requests.
Wade Simmons 5 年 前
コミット
ed1da1bd9c
1 ファイル変更5 行追加1 行削除
  1. 5 1
      .github/workflows/test.yml

+ 5 - 1
.github/workflows/test.yml

@@ -1,5 +1,9 @@
 name: Build and test
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+  pull_request:
 jobs:
 
   test-linux: