From 2798e91b304b5253c3ed267853dc86b084528e29 Mon Sep 17 00:00:00 2001 From: Axel Gembe Date: Fri, 20 Oct 2023 14:40:51 +0700 Subject: [PATCH] debug --- .github/workflows/windows-build-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows-build-test.yml b/.github/workflows/windows-build-test.yml index c4a4c1779f7a..3c8a0608a465 100644 --- a/.github/workflows/windows-build-test.yml +++ b/.github/workflows/windows-build-test.yml @@ -22,6 +22,7 @@ on: env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Debug + IS_STEP_DEBUG: ${{ secrets.ACTIONS_STEP_DEBUG }} jobs: build_windows: @@ -41,6 +42,7 @@ jobs: - name: debug - git status run: git status + if: ${{ env.IS_STEP_DEBUG == 'true' }} #https://stackoverflow.com/a/60883893 # "C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +90acd8f20e6d0c14b83241cc7dcd17df27d5a95b:refs/remotes/origin/andrew_workflows-7 @@ -165,7 +167,7 @@ jobs: - name: debug - print log run: cat "${{github.workspace}}\InnoSetup-Install.log" - if: ${{ secrets.ACTIONS_STEP_DEBUG == 'true' }} + if: ${{ env.IS_STEP_DEBUG == 'true' }} - name: Check InstallLocation Registry Value run: |