Bump actions/setup-java from 4 to 5 #21
This file contains hidden or 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
# github actions maven build and test | |
name: Java CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v5 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- run: mvn --batch-mode --update-snapshots package | |
- run: mkdir staging && cp target/*.jar staging | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Package | |
path: staging |