Created
January 23, 2022 14:15
-
-
Save wenqiglantz/6429c9b893b7e29be784d468efe85291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup jdk-17 | |
uses: actions/setup-java@main | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
cache: maven | |
- name: Build with Maven | |
run: mvn clean install --file pom.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment