We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8a3a59 commit 161d77dCopy full SHA for 161d77d
action.yml
@@ -271,7 +271,7 @@ runs:
271
clang-tools -i ${{ inputs.version }} -b
272
273
# Install color output requirements if enabled
274
- case "${{ env.CPP_LINTER_COLOR }}" in
+ case "$CPP_LINTER_COLOR" in
275
"true" | "on" | "1")
276
pip install -r "$GITHUB_ACTION_PATH/color-requirements.txt"
277
;;
@@ -318,9 +318,9 @@ runs:
318
319
320
$colorEnabled = "true","on","1"
321
- if ( $colorEnabled.contains("${{ env.CPP_LINTER_COLOR }}") )
+ if ( $colorEnabled.contains("$env:CPP_LINTER_COLOR") )
322
{
323
- pip install -r "$GITHUB_ACTION_PATH/color-requirements.txt"
+ pip install -r "$env:GITHUB_ACTION_PATH/color-requirements.txt"
324
}
325
326
- name: Run cpp-linter (Windows)
0 commit comments