-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Add to a GitHub Actions YAML file (assuming a Windows runner)
jobs:
build:
steps:
- name: Test
shell: cmd
working-directory: ${{ github.workspace }}
run: ctest --preset=${{ matrix.build_type }} %CTEST_DEBUG_OPTS%
env:
CTEST_DEBUG_OPTS: ${{ runner.debug == '1' && '--output-on-failure' || '' }}
The VS Code Extensions flags it as a warning:
"Context access might be invalid"
Per this PR, this was previously undocumented but is supported:
Note that runner.debug doesn't work at global scope or at job scope, only at steps.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done 💤