From efb286f8703d1df7fe4a417e2923cd8f589789e2 Mon Sep 17 00:00:00 2001 From: radtriste Date: Wed, 14 Sep 2022 10:55:53 +0200 Subject: [PATCH] Setup maven options to build-chain --- .github/workflows/kogito-examples-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kogito-examples-pr.yml b/.github/workflows/kogito-examples-pr.yml index 4a1da550c0..ea37a7b670 100644 --- a/.github/workflows/kogito-examples-pr.yml +++ b/.github/workflows/kogito-examples-pr.yml @@ -17,7 +17,7 @@ jobs: concurrency: group: kogito_examples_pr-${{ github.head_ref }} cancel-in-progress: true - timeout-minutes: 180 + timeout-minutes: 360 strategy: matrix: os: [ubuntu-latest] @@ -41,6 +41,8 @@ jobs: cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} - name: Build Chain uses: kiegroup/kogito-pipelines/.ci/actions/build-chain@main + env: + MAVEN_OPTS: -Xms1024m -Xmx6g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m with: annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} github-token: "${{ secrets.GITHUB_TOKEN }}"