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:
124124 src:
125125 - '${{ matrix.language }}/ext-library-sources/**'
126126
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+
127136 - name : Install CodeQL
128137 if : steps.changes.outputs.src == 'true'
129138 env :
130139 GITHUB_TOKEN : ${{ github.token }}
131140 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/"
135143
You can’t perform that action at this time.
0 commit comments