Skip to content

Commit c8b9d13

Browse files
committed
feat(ci): Add CodeQL to PATH
1 parent ce54456 commit c8b9d13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,15 @@ jobs:
155155
src:
156156
- 'configs/**'
157157
158+
- name: Initialize CodeQL
159+
if: steps.changes.outputs.src == 'true'
160+
run: |
161+
VERSION="$(find "${{ runner.tool_cache }}/CodeQL/" -maxdepth 1 -mindepth 1 -type d -print \
162+
| sort \
163+
| tail -n 1 \
164+
| tr -d '\n')"
165+
echo "$VERSION/x64/codeql" >> $GITHUB_PATH
166+
158167
- name: "Check Configurations"
159168
if: steps.changes.outputs.src == 'true'
160169
env:

0 commit comments

Comments
 (0)