Merge pull request #38 from hendisantika/dependabot/maven/commons-io-… #46
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: Maven Build | |
on: | |
push: | |
paths: | |
- '.mvn/wrapper/**' | |
- 'pom.xml' | |
- 'src/**' | |
pull_request: | |
paths: | |
- '.mvn/wrapper/**' | |
- 'pom.xml' | |
- 'src/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
cache: 'maven' | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml |