Skip to content

Commit e3494af

Browse files
authored
Update sync-main.yml
1 parent 70e27a4 commit e3494af

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/sync-main.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ jobs:
3030
git fetch upstream --tags --force
3131
git merge codeql-cli/latest
3232
- name: Setup CodeQL
33-
uses: ./.github/actions/fetch-codeql
34-
with:
35-
channel: 'release'
33+
shell: bash
34+
run: |
35+
gh extension install github/gh-codeql
36+
gh codeql version
37+
printf "CODEQL_FETCHED_CODEQL_PATH=" >> "${GITHUB_ENV}"
38+
gh codeql version --format=json | jq -r .unpackedLocation >> "${GITHUB_ENV}"
39+
gh codeql version --format=json | jq -r .unpackedLocation >> "${GITHUB_PATH}"
3640
- name: Compile PowerShell Queries
3741
run: |
3842
codeql query compile --check-only --keep-going powershell/ql/src

0 commit comments

Comments
 (0)