diff --git a/.github/workflows/test-java-os-mix.yml b/.github/workflows/test-java-os-mix.yml index e53b1079..1aa36389 100644 --- a/.github/workflows/test-java-os-mix.yml +++ b/.github/workflows/test-java-os-mix.yml @@ -39,6 +39,13 @@ jobs: if: runner.os == 'Windows' shell: pwsh run: | + if (Test-Path env:ACTIONS_RUNNER_DEBUG) { + echo "GRADLE_DEBUG=--debug" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + Write-Output "Debug mode is enabled." + } else { + Write-Output "Debug mode is not enabled." + } + $debugMode = $env:ACTIONS_RUNNER_DEBUG if ($debugMode -eq "true") { echo "GRADLE_DEBUG=--debug" >> $env:GITHUB_ENV