Update workflow
Run CI on all PRs and not commits to default branch. Signed-off-by: Jacob Perron <jacobmperron@gmail.com>
This commit is contained in:
parent
4304155f76
commit
35270f58cf
1 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
@ -1,12 +1,9 @@
|
||||||
name: Build and test
|
name: Build and test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Run for any commit in origin repository
|
|
||||||
push:
|
push:
|
||||||
# And pull requests from forks
|
branches: ['master']
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
# This avoids running the job twice for PRs from origin repository
|
|
||||||
- '**:**'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue