Skip to content

Commit

Permalink
Merge pull request #411 from gsmet/prepare-bot-arrival
Browse files Browse the repository at this point in the history
Prepare the arrival of the Quarkus GitHub Bot
  • Loading branch information
gsmet authored Jan 31, 2025
2 parents d4dac04 + 72a82da commit 4f8b3b3
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/quarkus-github-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# The format of this file is documented here:
# https://github.com/quarkusio/quarkus-github-bot#triage-issues
features: [ANALYZE_WORKFLOW_RUN_RESULTS]
workflowRunAnalysis:
workflows: ["Build"]
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:

jobs:
build:
name: Build

runs-on: ubuntu-latest

Expand All @@ -49,3 +50,25 @@ jobs:

- name: Build with Maven
run: mvn -B install

# 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.txt
- name: Upload build reports
uses: actions/upload-artifact@v4
if: always()
with:
name: "build-reports-${{ github.run_attempt }}-Build"
path: |
build-reports.zip
retention-days: 7
- name: Produce report and add it as job summary
uses: quarkusio/action-build-reporter@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
build-reports-artifacts-path: .
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,13 @@
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>io.quarkus.bot</groupId>
<artifactId>build-reporter-maven-extension</artifactId>
<version>3.9.6</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>${quarkus.platform.group-id}</groupId>
Expand Down

0 comments on commit 4f8b3b3

Please sign in to comment.