Skip to content

Commit

Permalink
Update build-codeql.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Ronstadt <[email protected]>
  • Loading branch information
jacob-ronstadt authored Nov 11, 2024
1 parent 9c1627b commit ac67047
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ name: Build and Publish Windows CodeQL queries
on:
# Triggers the workflow on push or pull request events but only for the main and development branches
push:
branches: [ main, development ]
branches: [ main, development, jacob-ronstadt-patch-2 ]
pull_request:
branches: [ main, development ]

# Allow manual scheduling
workflow_dispatch:

env:
CODEQL_LATEST_VERSION: 2.17.1
CODEQL_VERSION: 2.15.4

jobs:
Expand Down Expand Up @@ -150,7 +149,7 @@ jobs:
fetch-depth: 0
- name: CodeQL Download
run:
Invoke-WebRequest -Uri "https://github.com/github/codeql-cli-binaries/releases/download/v${{ env.CODEQL_LATEST_VERSION }}/codeql-win64.zip" -OutFile codeql-win64.zip;
Invoke-WebRequest -Uri "https://github.com/github/codeql-cli-binaries/releases/download/v${{ env:CODEQL_LATEST_VERSION }}/codeql-win64.zip" -OutFile codeql-win64.zip;
Expand-Archive -Path codeql-win64.zip -DestinationPath .\codeql-zip -Force;
Move-Item -Path .\codeql-zip\codeql -Destination .\codeql-cli\
- name: Install CodeQL pack dependencies
Expand Down

0 comments on commit ac67047

Please sign in to comment.