-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (32 loc) · 993 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Java CI
on:
push:
tags:
- "v*"
jobs:
tagged-release:
name: "Tagged Release"
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
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
staging/*.jar