Access certificate with generic signed object parser #604
Workflow file for this run
This file contains 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
# | |
# based on https://github.com/actions/setup-java | |
# | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
contents: read | |
strategy: | |
matrix: | |
# test against latest update of each major Java version, as well as specific updates of LTS versions: | |
java: [ 11, 17 ] | |
name: Java ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache maven artifacts | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }} | |
- name: Setup java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Build with Maven | |
run: mvn -B verify --file pom.xml | |
- name: Archive test results | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: test-results | |
path: | | |
target/surefire-reports/ | |
- name: Publish Test Report | |
if: ${{ always() }} | |
uses: scacap/action-surefire-report@v1 |