Changelog 2.2.0 (#822) #1041
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: build | |
on: | |
push: | |
branches: [ 'master' ] | |
pull_request: | |
branches: [ 'master' ] | |
concurrency: | |
group: ${{ github.ref }}-build | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
jdk_version: [ '17' ] | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
with: | |
driver: docker | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.OSS_DOCKERHUB_USERNAME }} | |
password: ${{ secrets.OSS_DOCKERHUB_PASSWORD }} | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '${{ matrix.jdk_version }}' | |
distribution: 'temurin' | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build and test with Maven | |
run: ./mvnw -s .github/settings.xml -B clean install -Pgha -Pdocker -Pit -Pjdk${{ matrix.jdk_version }} | |
- name: Build with debian docker images | |
run: ./mvnw -s .github/settings.xml -C -B -f docker-images install -DskipTests -Pgha -Pdocker -Pdebian -Pjdk${{ matrix.jdk_version }} |