File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,20 @@ jobs:
124
124
src:
125
125
- '${{ matrix.language }}/ext-library-sources/**'
126
126
127
+ - name : Initialize CodeQL
128
+ if : steps.changes.outputs.src == 'true'
129
+ run : |
130
+ VERSION="$(find "${{ runner.tool_cache }}/CodeQL/" -maxdepth 1 -mindepth 1 -type d -print \
131
+ | sort \
132
+ | tail -n 1 \
133
+ | tr -d '\n')"
134
+ echo "$VERSION/x64/codeql" >> $GITHUB_PATH
135
+
127
136
- name : Install CodeQL
128
137
if : steps.changes.outputs.src == 'true'
129
138
env :
130
139
GITHUB_TOKEN : ${{ github.token }}
131
140
run : |
132
- gh extension install github/gh-codeql
133
- gh codeql pack install "${{ matrix.language }}/ext-library-sources/"
134
- gh codeql pack create "${{ matrix.language }}/ext-library-sources/"
141
+ codeql pack install "${{ matrix.language }}/ext-library-sources/"
142
+ codeql pack create "${{ matrix.language }}/ext-library-sources/"
135
143
You can’t perform that action at this time.
0 commit comments