This is an automated email from the ASF dual-hosted git repository.
eduardocerqueira pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new a5c28cfba21 Adjusting GH Pipeline to use the new way to setup Maven
a5c28cfba21 is described below
commit a5c28cfba215114f82974eaf73dab2b2fab60225
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Tue Jun 17 10:47:34 2025 -0400
Adjusting GH Pipeline to use the new way to setup Maven
---
.github/workflows/release_build_extended_services.yml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release_build_extended_services.yml
b/.github/workflows/release_build_extended_services.yml
index 405327de583..d628c2d510f 100644
--- a/.github/workflows/release_build_extended_services.yml
+++ b/.github/workflows/release_build_extended_services.yml
@@ -370,23 +370,33 @@ jobs:
- name: "Setup Maven settings file (MacOS)"
if: runner.os == 'macOS'
shell: bash
+ env:
+ MAVEN_ARGS: "-B -Puse-maven-repo-local-tail -s ${{ github.workspace
}}/.m2/settings.xml"
run: |
- pnpm -r exec 'bash' '-c' 'echo --settings=${{ github.workspace
}}/.m2/settings.xml >> .mvn/maven.config'
+ echo "$MAVEN_ARGS"
- name: "Setup Maven settings file (Windows)"
if: runner.os == 'Windows'
shell: pwsh
+ env:
+ MAVEN_ARGS: "-B -Puse-maven-repo-local-tail -s ${{ github.workspace
}}/.m2/settings.xml"
run: |
- pnpm -r powershell "Add-Content .\.mvn\maven.config '--settings=${{
github.workspace }}\.m2\settings.xml'"
+ echo "$MAVEN_ARGS"
- name: "Bootstrap"
id: bootstrap
+ env:
+ MAVEN_ARGS: "-B -Puse-maven-repo-local-tail -s ${{ github.workspace
}}/.m2/settings.xml"
+ MAVEN_OPTS: "-Xmx2g"
uses: ./.github/actions/bootstrap
with:
pnpm_filter_string: -F @kie-tools/extended-services...
- name: "Build"
shell: bash
+ env:
+ MAVEN_ARGS: "-B -Puse-maven-repo-local-tail -s ${{ github.workspace
}}/.m2/settings.xml"
+ MAVEN_OPTS: "-Xmx2g"
run: |
pnpm ${{ steps.bootstrap.outputs.pnpm_filter_string }} build:prod
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]