Merge pull request #104 from bernardladenthin/dependabot/maven/org.ap… #342
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 assembly | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'releases/*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| env: | |
| javaversion: '21' | |
| javadistribution: 'temurin' | |
| jobs: | |
| build: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ env.javaversion }} ${{ env.javadistribution }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ env.javaversion }} | |
| distribution: ${{ env.javadistribution }} | |
| cache: maven | |
| - name: Build with Maven | |
| run: mvn -B "-Dnet.ladenthin.bitcoinaddressfinder.disableLMDBTest=false" --update-snapshots test package assembly:single --file pom.xml | |
| - name: Archive binary | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jar binaries | |
| path: target/*.jar | |
| - name: Upload Surefire Reports and JVM Crash Logs | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: surefire-and-crash-logs | |
| path: | | |
| target/surefire-reports/** | |
| hs_err_pid*.log |