Verify Quarkus Build Caching Extension #1060
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: Verify Quarkus Build Caching Extension | |
on: | |
schedule: | |
# Every Sunday at 9.00am - scheduled to test against latest Quarkus version | |
- cron: "0 9 * * 0" | |
push: | |
branches: [ main ] | |
paths: [ 'quarkus-build-caching-extension/**', '.github/workflows/**' ] | |
pull_request: | |
branches: [ main ] | |
paths: [ 'quarkus-build-caching-extension/**', '.github/workflows/**' ] | |
workflow_dispatch: | |
jobs: | |
verification: | |
name: Verification | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Build with Maven | |
working-directory: quarkus-build-caching-extension | |
run: | | |
./mvnw --batch-mode clean package integration-test | |
env: | |
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }} | |
- name: Upload integration tests reports (on failure only) | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Integration tests logs | |
path: | | |
quarkus-build-caching-extension/target/it/**/*.log |