From a2efd4fb10efba03af37cb7b0ad2f0f6e542409d Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Fri, 30 Jun 2023 00:42:42 +0200 Subject: [PATCH] Fix Windows build (#10047) --- .github/workflows/deployment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index a0d4bb506a6..5db32beef29 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -91,7 +91,7 @@ jobs: echo "JDK21=${{runner.temp}}\jdk\jdk-21" >> "$GITHUB_ENV" ls "$(cygpath -u "$RUNNER_TEMP\jdk\jdk-21")" - echo "org.gradle.java.installations.paths=${{runner.temp}}\jdk\jdk-21" >> gradle.properties + echo "org.gradle.java.installations.paths=${{runner.temp}}\jdk\jdk-21" | sed "s/\\\\/\\\\\\\\/g" >> gradle.properties echo "org.gradle.java.installations.auto-detect=false" >> gradle.properties cat gradle.properties @@ -143,10 +143,10 @@ jobs: - name: Build runtime image if: (matrix.os != 'macos-latest') || (steps.checksecrets.outputs.secretspresent == 'YES') shell: bash - run: ./gradlew -Porg.gradle.java.installations.paths="${{env.JDK21}}" -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jlinkZip + run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jlinkZip - name: Build installer if: (matrix.os != 'macos-latest') || (steps.checksecrets.outputs.secretspresent == 'YES') - run: ./gradlew -Porg.gradle.java.installations.paths="${{env.JDK21}}" -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jpackage + run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" jpackage shell: bash - name: Resign app image for OSX and build dmg if: (matrix.os == 'macos-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')