Skip to content

feat: provide a CSV.spec.version value when possible #1448

feat: provide a CSV.spec.version value when possible

feat: provide a CSV.spec.version value when possible #1448

Workflow file for this run

name: Build PRs and main when updated
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'
jobs:
extract-branch-name:
runs-on: ubuntu-latest
outputs:
branch_name: ${{ steps.extract_branch.outputs.branch }}
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
build-with-quarkus-version:
needs:
- extract-branch-name
strategy:
matrix:
java-version: [ 11, 17 ]
quarkus-version-jq-cmd:
- '.platforms[0]."current-stream-id" as $current | .platforms[0].streams[] | select(.id == $current) | .releases[0].version'
# - '.platforms[0].streams[] | select(.id == "3.2") | .releases[0].version'
uses: ./.github/workflows/build-for-quarkus-version.yml
with:
quarkus-version-jq-cmd: ${{ matrix.quarkus-version-jq-cmd }}
java-version: ${{ matrix.java-version }}
branch: ${{ needs.extract-branch-name.outputs.branch_name }}
native-modules: "integration-tests"
repository: ${{ github.event.pull_request.head.repo.full_name }}