Skip to content

Commit 644b86d

Browse files
authored
Update reusable-package.yml
1 parent be69789 commit 644b86d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/reusable-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ jobs:
88
- uses: actions/checkout@v3
99
- name: Build package
1010
run: |
11-
$asset = gh release view -R ryanoasis/nerd-fonts --json assets -q '.assets[].url|match("^.*JetBrainsMono.*$"; "g")|.string'
11+
(gh release view -R ryanoasis/nerd-fonts --json assets) -match '(?<url>https://[^"]+?JetBrainsMono\.zip)"'
12+
$asset = $Matches.url
1213
1314
Invoke-WebRequest -Uri $asset -OutFile $PSScriptRoot\JetBrainsMono.zip
1415
Remove-Item `

0 commit comments

Comments
 (0)