Hi there,
I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the github/codeql-action/init action. This could be done similar to the codeql-path output. It appears that this would require minimal changes in the following locations:
|
core.setOutput("codeql-path", config.codeQLCmd); |
Add something like core.setOutput("codeql-version", await codeql.getVersion()).version).
And:
|
outputs: |
|
codeql-path: |
|
description: The path of the CodeQL binary used for analysis |
Add something like:
codeql-version:
description: The version of the CodeQL binary used for analysis
Hi there,
I'm working on caching some query compilations and it'd be helpful to receive the CodeQL version as output from the
github/codeql-action/initaction. This could be done similar to thecodeql-pathoutput. It appears that this would require minimal changes in the following locations:codeql-action/src/init-action.ts
Line 557 in b611370
Add something like
core.setOutput("codeql-version", await codeql.getVersion()).version).And:
codeql-action/init/action.yml
Lines 139 to 141 in b611370
Add something like: