mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 00:40:25 +00:00
CI: Fix Win jack download
This commit is contained in:
committed by
Martin Pulec
parent
7f397d2e1c
commit
6320243e52
2
.github/scripts/Windows/install_jack.ps1
vendored
2
.github/scripts/Windows/install_jack.ps1
vendored
@@ -9,7 +9,7 @@ $repo = "jackaudio/jack2-releases"
|
||||
$releases = "https://api.github.com/repos/$repo/releases"
|
||||
$tag = (Invoke-WebRequest $releases -Headers @{Authorization = "token ${Env:GITHUB_TOKEN}"} | ConvertFrom-Json)[0].tag_name
|
||||
$download = "https://github.com/$repo/releases/download/$tag/jack2-win64-$tag.exe"
|
||||
Invoke-WebRequest $download -Headers @{Authorization = "token ${Env:GITHUB_TOKEN}"} -o jack2.exe
|
||||
Invoke-WebRequest $download -Headers @{Authorization = "token ${Env:GITHUB_TOKEN}"} -OutFile jack2.exe
|
||||
Start-Process -FilePath '.\jack2.exe' -ArgumentList '/SILENT' -Wait -NoNewWindow
|
||||
|
||||
# The lib is moved to the JACK library for 2 reasons:
|
||||
|
||||
Reference in New Issue
Block a user