File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
.github/actions/check-codescanning-config Expand file tree Collapse file tree 1 file changed +4
-1
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 }}
56
57
57
58
- name : Install dependencies
58
59
shell : bash
@@ -61,11 +62,13 @@ runs:
61
62
- name : Check config
62
63
working-directory : ${{ github.action_path }}
63
64
shell : bash
64
- run : ts-node ./index.ts "${{ runner.temp }}/user-config.yaml" '${{ inputs.expected-config-file-contents }} '
65
+ run : ts-node ./index.ts "${{ runner.temp }}/user-config.yaml" '$EXPECTED_CONFIG_FILE_CONTENTS '
65
66
66
67
- name : Clean up
67
68
shell : bash
68
69
if : always()
69
70
run : |
70
71
rm -rf ${{ runner.temp }}/codescanning-config-cli-test
71
72
rm -rf ${{ runner.temp }}/user-config.yaml
73
+ rm -rf $RUNNER_TEMP/codescanning-config-cli-test
74
+ rm -rf $RUNNER_TEMP/user-config.yaml
You can’t perform that action at this time.
0 commit comments