Merge pull request #218 from AxonIQ/37c9dependabot/maven/org.axonfram… #238
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
name: GiftCard Demo | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
paths-ignore: | |
- 'docs/**' | |
- '.github/workflows/docs.yml' | |
jobs: | |
build: | |
name: Test and Build on JDK ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
continue-on-error: true # do not fail the whole job if one of the steps fails | |
strategy: | |
matrix: | |
include: | |
- java-version: 17 | |
fail-fast: false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
cache: "maven" | |
server-id: sonatype | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: Build | |
run: | | |
./mvnw -B -U clean verify |