Skip to content

Commit

Permalink
Add a simplistic on commit action.
Browse files Browse the repository at this point in the history
  • Loading branch information
dweiss committed Jan 15, 2025
1 parent 930e42f commit 830d5af
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: on commit checks

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 830d5af

Please sign in to comment.