Skip to content

Commit

Permalink
Print Java home during workflow run for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Nov 7, 2023
1 parent 767a8c0 commit 5a6e126
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/github-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build release
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down Expand Up @@ -118,6 +123,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build installer
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down Expand Up @@ -175,6 +185,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Prepare wix-toolset
run: echo "${env:path};${env:wix}bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8

Expand Down Expand Up @@ -237,6 +252,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Prepare wix-toolset
run: echo "${env:path};${env:wix}bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8

Expand Down Expand Up @@ -331,6 +351,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build installer
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down Expand Up @@ -398,6 +423,11 @@ jobs:
./gradlew -Pversion="${{ needs.preparations.outputs.version }}" generateLicenseReport --info --full-stacktrace
./gradlew -Pversion="${{ needs.preparations.outputs.version }}" :serverpackcreator-app:build :serverpackcreator-app:copyDependencies :serverpackcreator-app:copyJar --info --full-stacktrace
- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build Image
run: |
IFS="-" read -ra VERSION <<<"${{ needs.preparations.outputs.version }}"
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
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
Expand Down Expand Up @@ -77,6 +82,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build installer
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down Expand Up @@ -123,6 +133,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Prepare wix-toolset
if: matrix.os == 'windows-latest'
run: echo "${env:path};${env:wix}bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
Expand Down Expand Up @@ -174,6 +189,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Prepare wix-toolset
if: matrix.os == 'windows-latest'
run: echo "${env:path};${env:wix}bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
Expand Down Expand Up @@ -256,6 +276,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Build installer
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down Expand Up @@ -303,6 +328,11 @@ jobs:
with:
gradle-version: wrapper

- name: Where are you, you little...
run: |
echo $JAVA_HOME
echo ${{ steps.java.outputs.path }}
- name: Prepare
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
Expand Down

0 comments on commit 5a6e126

Please sign in to comment.