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 }}"