[DROOLS-7635] ansible-rulebook : Raise an error when a condition comp… #228
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: 1.0.x Development Build | |
on: | |
push: | |
branches: | |
- "1.0.x" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Checkout Drools 9.101.0 | |
uses: actions/checkout@v3 | |
with: | |
repository: kiegroup/drools | |
path: drools | |
ref: 9.101.x-prod | |
- name: Build Drools 9.101.0 with Maven | |
run: cd drools && mvn --batch-mode --update-snapshots install -Dquickly && cd .. | |
- uses: actions/checkout@v3 | |
with: | |
ref: 1.0.x | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
- run: mkdir staging && cp drools-ansible-rulebook-integration-runtime/target/drools*.jar staging && cp drools-ansible-rulebook-integration-main/target/drools-ansible-rulebook-integration-main-jar-with-dependencies.jar staging | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "1.0.x-latest" | |
prerelease: true | |
title: "1.0.x Development Build" | |
files: | | |
staging/*.jar |