From d987706a0cedcbdc3f9ba3787dc83e72303f7a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Thu, 24 Aug 2023 11:03:51 +0200 Subject: [PATCH] fix(native-build): Fix native build on Windows on publishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit note that another workaround was applied in another file using `--%` when on Windows: https://github.com/KaotoIO/kaoto-backend/pull/690/files Signed-off-by: Aurélien Pupier --- .github/workflows/publish-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c0fa3eb66..826cb7590 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -134,7 +134,10 @@ jobs: disk-root: "C:" if: ${{ matrix.os == 'windows-latest' }} - name: 🤳 Build Native Quarkus - run: mvn -B install -Pstandalone -Pnative -DskipTests -Dquarkus.native.native-image-xmx=5g + # Until https://github.com/PowerShell/PowerShell/issues/6291 is done, we cannot use -Dquarkus.native.native-image-xmx=5g + run: mvn install -Pnative -DskipTests + env: + QUARKUS_NATIVE_NATIVE_IMAGE_XMX: "5g" - name: 🛂 Find the version - non-Windows run: 'echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV' if: ${{ matrix.os != 'windows-latest' }}