chore(deps): update konflux references #1424
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 & Test | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Prepare cache key | |
id: cache-key | |
shell: bash | |
run: echo "::set-output name=date::$(/bin/date -u "+%Y-%m")" | |
- name: Cache Maven dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
# The cache key is changed every month to prevent unlimited growth. | |
key: maven-cache-${{ steps.cache-key.outputs.date }} | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: adopt | |
- name: Build with Maven | |
run: ./mvnw clean verify --no-transfer-progress | |
- uses: actions/upload-artifact@v4 | |
name: Upload openapi.json | |
with: | |
name: openapi.json | |
path: target/openapi.json |