We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631b8fe commit 906f2f5Copy full SHA for 906f2f5
.github/actions/find-latest-bundle/action.yml
@@ -11,11 +11,15 @@ runs:
11
id: find-latest
12
shell: pwsh
13
run: |
14
- $Latest = gh release list --exclude-drafts --limit 1000 |
+ $Latest = gh release list --repo github/codeql-action --exclude-drafts --limit 1000 |
15
ForEach-Object { $C = $_ -split "`t"; return @{ type = $C[1]; tag = $C[2]; } } |
16
Where-Object { $_.type -eq 'Latest' }
17
18
$Tag = $Latest.tag
19
+ if ($Tag -eq '') {
20
+ throw 'Failed to find latest bundle release.'
21
+ }
22
+
23
Write-Output "Latest bundle tag is '${Tag}'."
24
"url=https://github.com/github/codeql-action/releases/download/${Tag}/codeql-bundle-linux64.tar.gz" >> $env:GITHUB_OUTPUT
25
env:
0 commit comments