Skip to content

Commit

Permalink
Update GH actions to run build on PR and push to development.
Browse files Browse the repository at this point in the history
  • Loading branch information
ledsoft committed Nov 24, 2022
1 parent abe2667 commit ee6c3c6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build

on:
push:
branches: [ master ]
branches: [ master, development ]
pull_request:
branches: [ master ]
branches: [ master, development ]

jobs:
build:
Expand All @@ -14,8 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.8
distribution: 'temurin'
java-version: '8'
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit ee6c3c6

Please sign in to comment.