Skip to content

Commit

Permalink
WIP Fix variable setting for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Aug 17, 2024
1 parent 8a29328 commit ef2feaa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-java-os-mix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef2feaa

Please sign in to comment.