File tree 1 file changed +5
-2
lines changed
.github/actions/check-codescanning-config
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 53
53
db-location : ${{ runner.temp }}/codescanning-config-cli-test
54
54
env :
55
55
CODEQL_ACTION_TEST_MODE : ' true'
56
- EXPECTED_CONFIG_FILE_CONTENTS : ' ${{ inputs.expected-config-file-contents }}'
57
56
58
57
- name : Install dependencies
59
58
shell : bash
62
61
- name : Check config
63
62
working-directory : ${{ github.action_path }}
64
63
shell : bash
65
- run : echo "$EXPECTED_CONFIG_FILE_CONTENTS"; ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
64
+ env :
65
+ EXPECTED_CONFIG_FILE_CONTENTS : ' ${{ inputs.expected-config-file-contents }}'
66
+ run : |
67
+ echo "EXPECTED_CONFIG_FILE_CONTENTS = $EXPECTED_CONFIG_FILE_CONTENTS"
68
+ ts-node ./index.ts "$RUNNER_TEMP/user-config.yaml" "$EXPECTED_CONFIG_FILE_CONTENTS"
66
69
- name : Clean up
67
70
shell : bash
68
71
if : always()
You can’t perform that action at this time.
0 commit comments