[DROOLS-7639] ansible-rulebook : support event path for collecting el… #226
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: Java CI | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Install Drools Snapshot | |
uses: actions/checkout@v3 | |
with: | |
repository: kiegroup/drools | |
path: drools | |
- name: Build Drools Snapshot with Maven | |
run: cd drools && mvn --batch-mode --update-snapshots install -Dquickly && cd .. | |
- uses: actions/checkout@v3 | |
- 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: "latest" | |
prerelease: true | |
title: "Development Build" | |
files: | | |
staging/*.jar |