shasum no longer supports -p, use --binary instead #460
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Set up JDKs | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: | | |
| 11 | |
| 21 | |
| - name: Setup Maven | |
| run: echo "MAVEN_OPTS='-Xmx2048m'" > ~/.mavenrc | |
| - name: Cache maven repo | |
| uses: actions/cache@v5 | |
| env: | |
| cache-name: cache-maven-repo | |
| with: | |
| # maven files are stored in `~/.m2/repository` on Linux/macOS | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.sha1') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}- | |
| ${{ runner.os }}-build- | |
| ${{ runner.os }}- | |
| - name: Build with Maven | |
| run: mvn clean verify --no-transfer-progress --batch-mode --show-version |