File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments