[skip] Update dependency org.apache.maven.plugins:maven-compiler-plug… #308
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
| name: Build and Upload | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-and-upload: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, '[skip]')" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 25 | |
| server-id: github | |
| cache: 'maven' | |
| - name: Cache local Maven repository | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Build with Maven | |
| run: mvn package --file pom.xml | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: FalchusLib | |
| path: target/FalchusLib.jar |