From a24380d851ae2ee204ab46c691d3f5463fbdf970 Mon Sep 17 00:00:00 2001 From: Griefed Date: Tue, 7 Nov 2023 23:23:43 +0100 Subject: [PATCH] Try Zulu and $JAVA_HOME for ubuntu-02 --- .github/workflows/test.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index addce8c4d..88bffabb9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: run: | echo $JAVA_HOME echo ${{ steps.java.outputs.path }} - + - name: Build with Gradle run: | ./gradlew -Pversion=${{ steps.branch-name.outputs.current_branch }} generateLicenseReport --info --full-stacktrace @@ -135,7 +135,7 @@ jobs: - name: Where are you, you little... run: | - echo $JAVA_HOME + echo %JAVA_HOME% echo ${{ steps.java.outputs.path }} - name: Prepare wix-toolset @@ -191,7 +191,7 @@ jobs: - name: Where are you, you little... run: | - echo $JAVA_HOME + echo %JAVA_HOME% echo ${{ steps.java.outputs.path }} - name: Prepare wix-toolset @@ -228,6 +228,7 @@ jobs: --verbose - name: List + if: ${{ always() }} run: dir serverpackcreator-app\build\dist - name: Archive @@ -316,7 +317,7 @@ jobs: id: java uses: actions/setup-java@v3.13.0 with: - distribution: 'temurin' + distribution: 'zulu' java-version: '17' check-latest: true cache: 'gradle' @@ -356,13 +357,14 @@ jobs: --main-jar serverpackcreator-app-dev-plain.jar \ --name ServerPackCreator \ --resource-dir serverpackcreator-app/jpackagerResources \ - --runtime-image "${{ steps.java.outputs.path }}" \ + --runtime-image $JAVA_HOME \ --temp serverpackcreator-app/build/tmp/jpackager \ --type "app-image" \ --vendor "griefed.de" \ --verbose - name: List + if: ${{ always() }} run: ls -ahl serverpackcreator-app/build/dist - name: Create AppImage