Skip to content

Commit

Permalink
Create maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun authored Feb 26, 2022
1 parent 02d287c commit ce656a0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: maven-compile-test

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Validate and Compile with Maven
run: mvn validate compile -Pprod

0 comments on commit ce656a0

Please sign in to comment.