Skip to content

[maven-release-plugin] prepare release 1.1.1 #522

[maven-release-plugin] prepare release 1.1.1

[maven-release-plugin] prepare release 1.1.1 #522

Workflow file for this run

name: Build
on:
push:
branches:
- "main"
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
pull_request:
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
env:
MAVEN_OPTS: -Xmx8g
GRADLE_OPTS: -Dorg.gradle.jvmargs='-Xmx8g'
jobs:
build:
name: Build on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Prepare git
run: git config --global core.autocrlf false
if: startsWith(matrix.os, 'windows')
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --no-transfer-progress clean install -Dno-format -Dstyle.color=always
# Publish build reports
- name: Prepare build reports archive
if: always()
run: |
7z a -tzip build-reports.zip -r \
'**/target/*-reports/TEST-*.xml' \
'target/build-report.json' \
LICENSE
- name: Upload build reports
uses: actions/upload-artifact@v4
if: always()
with:
name: "build-reports-${{ github.run_attempt }}-Build on ${{ matrix.os }}"
path: |
build-reports.zip
retention-days: 7
- name: Produce report and add it as job summary
uses: quarkusio/action-build-reporter@main
if: always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build-reports-artifacts-path: .