NFC-82 Signing cert conf logic to Auth Init Filter #176
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 example | |
| on: | |
| push: | |
| paths: | |
| - 'example/**' | |
| - '.github/workflows/*example*' | |
| pull_request: | |
| paths: | |
| - 'example/**' | |
| - '.github/workflows/*example*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # TODO: revert later — currently forcing branch checkout for GitHub build | |
| - name: Checkout current branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref || github.ref }} | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: zulu | |
| java-version: 17 | |
| - name: Cache Maven packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }} | |
| # TODO: revert later — currently forcing branch checkout for GitHub build | |
| - name: Build and install library | |
| run: mvn -B clean install -DskipTests | |
| # TODO: revert later — currently forcing branch checkout for GitHub build | |
| - name: Build example app | |
| run: | | |
| cd example | |
| mvn -B clean verify | |