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 5353 db-location : ${{ runner.temp }}/codescanning-config-cli-test
5454 env :
5555 CODEQL_ACTION_TEST_MODE : ' true'
56+ EXPECTED_CONFIG_FILE_CONTENTS : ${{ inputs.expected-config-file-contents }}
5657
5758 - name : Install dependencies
5859 shell : bash
@@ -61,11 +62,13 @@ runs:
6162 - name : Check config
6263 working-directory : ${{ github.action_path }}
6364 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 '
6566
6667 - name : Clean up
6768 shell : bash
6869 if : always()
6970 run : |
7071 rm -rf ${{ runner.temp }}/codescanning-config-cli-test
7172 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