NFC-82 NFC signing support for web-eid example #806
Workflow file for this run
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: Maven build | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'example/**' | |
| - '.github/workflows/*example*' | |
| pull_request: | |
| paths-ignore: | |
| - 'example/**' | |
| - '.github/workflows/*example*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout current branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref || github.ref }} // TODO revert, currently for github build | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: zulu | |
| java-version: 11 | |
| - name: Cache Maven packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-v8-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-m2-v8 | |
| - name: Build | |
| run: mvn --batch-mode compile | |
| - name: Test and package | |
| run: mvn --batch-mode package | |