Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix(native-build): Fix native build on Windows on publishing #837

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down