Skip to content

Commit

Permalink
[KOGITO-5120] Improve GitHub Action configuration (#681)
Browse files Browse the repository at this point in the history
* Improve GHA workflow

* Improve GHA workflow

* Update ci-pr.yml
  • Loading branch information
danielezonca authored May 13, 2021
1 parent a85b8f3 commit fb829c0
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build Chain Full Downstream
name: Examples Build

on: [pull_request]
on: [pull_request_target]

jobs:
build-chain:
Expand All @@ -25,9 +25,12 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build Chain ${{ matrix.java-version }}
id: build-chain
uses: kiegroup/github-action-build-chain@v2.3
uses: kiegroup/github-action-build-chain@v2.5.4
with:
definition-file: https://raw.githubusercontent.com/${GROUP}/kogito-pipelines/${BRANCH}/.ci/pull-request-config.yaml
flow-type: full-downstream
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
BUILD_MVN_OPTS: "-fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
with:
report_paths: '**/*-reports/TEST-*.xml'

0 comments on commit fb829c0

Please sign in to comment.