File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/CodeQLToolkit.Features/CodeQL/Commands/Targets Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 67
67
- name : Verify Versions of Tooling
68
68
shell : bash
69
69
run : |
70
- echo "CodeQL Home: ${{ steps.install-codeql.outputs.codeql-home }}"
70
+ echo "CodeQL Home: $QLT_CODEQL_HOME"
71
+ echo "CodeQL Binary: $QLT_CODEQL_PATH"
71
72
echo -e "Checking CodeQL Version:"
72
- codeql --version
73
+ $QLT_CODEQL_PATH --version
73
74
74
75
echo -e "Checking QLT Version:"
75
76
echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ public override void Run()
28
28
{
29
29
Log < InstallCommand > . G ( ) . LogInformation ( $ "Installing CodeQL...") ;
30
30
installation . Install ( ) ;
31
+
32
+ // set the environment variable
33
+ Environment . SetEnvironmentVariable ( "QLT_CODEQL_HOME" , installation . CodeQLHome ) ;
34
+ Environment . SetEnvironmentVariable ( "QLT_CODEQL_PATH" , installation . CodeQLToolBinary ) ;
35
+
31
36
}
32
37
33
38
You can’t perform that action at this time.
0 commit comments