GitHub Actions: Adding all branches to be build on push & PR
name: Java CI with Maven
-on:
- push:
- branches: [ master, 0.9 ]
- pull_request:
- branches: [ master, 0.9 ]
+on: [push, pull_request]
jobs:
build:
@@ -23,4 +19,4 @@ jobs:
distribution: 'adopt'
cache: maven
- name: Build with Maven
- run: mvn -B package -Ppedantic --file pom.xml
+ run: mvn -B package --file pom.xml
\ No newline at end of file
