Skip to content

Commit

Permalink
fix build debug detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchcapper committed Jan 19, 2025
1 parent 283c7c1 commit 9411359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/do_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
run: "Get-ChildItem env: | Select-Object -Property Name, Value | ConvertTo-Json | Out-File -FilePath d:/env.json -Encoding ASCII"

- name: Trace Print ENV
if: ${{ env.WLB_BUILD_TRACE }}
if: ${{ env.WLB_BUILD_TRACE == '1' }}
run: "Get-ChildItem env: | Select-Object -Property Name, Value"

- name: Unpack / Move Artifacts
Expand Down Expand Up @@ -185,11 +185,11 @@ jobs:
run: ${{env.WLB_SCRIPT_FOLDER}}/vs_msys_shell_launch.ps1 "${{env.WLB_SCRIPT_FOLDER}}/${{env.SCRIPT}}"

- name: Debug Session
if: ${{ failure() && (vars.DEBUG_FAIL == '1') && (env.WLB_BUILD_TRACE) }}
if: ${{ failure() && vars.DEBUG_FAIL == '1' && env.WLB_BUILD_TRACE == '1' }}
run: ${{env.WLB_SCRIPT_FOLDER}}/.github/debug_ssh_start.ps1

- name: Failure Artifact Upload
if: ${{ failure() && (env.WLB_BUILD_TRACE) }}
if: ${{ failure() && env.WLB_BUILD_TRACE == '1' }}
uses: actions/upload-artifact@v4
with:
name: FAILURE-${{env.BUILD_PKG}}${{matrix.Configuration=='Debug' && '-Debug' || ''}}
Expand Down

0 comments on commit 9411359

Please sign in to comment.