Skip to content

Commit 82f33b3

Browse files
committed
Set CODEQL_DIST in the action workflow
1 parent db37677 commit 82f33b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/code_scanning.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
echo "BUNDLE_VERSION=$(jq .CodeQLCLIBundle qlt.conf.json -r)" >> $GITHUB_ENV
4242
4343
- name: Initialize CodeQL
44+
id: initialize-codeql
4445
uses: github/codeql-action/init@v3
4546
env:
4647
# Add our custom extractor to the CodeQL search path
@@ -54,6 +55,7 @@ jobs:
5455
- name: Run CDS extractor
5556
shell: bash
5657
run: |
58+
export CODEQL_DIST="$(dirname "${{ steps.initialize-codeql.outputs.codeql-path }}")"
5759
${{ github.workspace }}/scripts/compile-cds.sh
5860
5961
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)