Created
February 28, 2023 22:01
-
-
Save gadmel/6e0c1fd6dc6a4dcef8bdeda9087b3546 to your computer and use it in GitHub Desktop.
.github/workflows/maven.yml
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 - Build with Maven | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B package --file backend/pom.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment