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.
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -1,5 +1,9 @@
|
||||
name: Build and test
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
jobs:
|
||||
|
||||
test-linux:
|
||||
|
Reference in New Issue
Block a user