Skip to content

Commit f0b30d9

Browse files
testing
1 parent 225b21e commit f0b30d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-codeql.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ jobs:
163163
path: .
164164
fetch-depth: 0
165165
- name: CodeQL Download
166-
run:
167-
$latest=(((Invoke-WebRequest -Uri https://github.com/github/codeql-cli-binaries/releases/latest).links.href | Where-Object{$_ -like "/github/codeql-cli-binaries/releases/tag/v*"}[0]) -split "/")[-1];
168-
Invoke-WebRequest -Uri "https://github.com/github/codeql-cli-binaries/releases/download/$latest/codeql-win64.zip" -OutFile codeql-win64.zip;
169-
Expand-Archive -Path codeql-win64.zip -DestinationPath .\codeql-zip -Force;
166+
run: |
167+
$latest=(((Invoke-WebRequest -Uri https://github.com/github/codeql-cli-binaries/releases/latest).links.href | Where-Object{$_ -like "/github/codeql-cli-binaries/releases/tag/v*"}[0]) -split "/")[-1]
168+
Invoke-WebRequest -Uri "https://github.com/github/codeql-cli-binaries/releases/download/$latest/codeql-win64.zip" -OutFile codeql-win64.zip
169+
Expand-Archive -Path codeql-win64.zip -DestinationPath .\codeql-zip -Force
170170
Move-Item -Path .\codeql-zip\codeql -Destination .\codeql-cli\
171171
New-Item LatestVersion -ItemType "Directory"
172172
New-Item LatestVersion/$latest

0 commit comments

Comments
 (0)