Update pull_request_no_chain.yml to allow PR check and preview later #1663
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: Apache KIE Documentation - Build | |
on: [ pull_request ] | |
jobs: | |
build: | |
concurrency: | |
group: pull_request-nochain-${{ github.head_ref }} | |
cancel-in-progress: true | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java-version: [17] | |
maven-version: ['3.9.6'] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} - Java ${{ matrix.java-version }} - Maven | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Java and Maven Setup | |
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/maven@main | |
with: | |
java-version: ${{ matrix.java-version }} | |
maven-version: ${{ matrix.maven-version }} | |
cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} | |
allow-snapshots: true | |
- name: Build with Maven | |
run: mvn -B clean install --file pom.xml -Dfull |