summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2021-02-10 18:37:42 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2021-02-10 18:56:44 +0100
commit8474576c89fafc6febb2c22823540bd6a43910ee (patch)
tree8e31932776510e149cbd0ec975e81c7312724bed /.github
parentAlign coroutines version (diff)
downloadseven-wonders-8474576c89fafc6febb2c22823540bd6a43910ee.tar.gz
seven-wonders-8474576c89fafc6febb2c22823540bd6a43910ee.tar.bz2
seven-wonders-8474576c89fafc6febb2c22823540bd6a43910ee.zip
Add CI on non-main branches
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci-build.yml (renamed from .github/workflows/pr-build.yml)7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/ci-build.yml
index 67a9c9be..843f0dc0 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -1,6 +1,8 @@
-name: pr-build
+name: ci-build
on:
+ push:
+ branches-ignore: [ main ]
pull_request:
branches: [ main ]
@@ -8,7 +10,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - name: Checkout repository
+ uses: actions/checkout@v2
- name: Set up JDK 15
uses: actions/setup-java@v1.4.3
bgstack15