Skip to content

Commit

Permalink
CI: Fix Win jack download
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiatka committed Feb 13, 2024
1 parent 41ede46 commit 6bd76fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/Windows/install_jack.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6bd76fc

Please sign in to comment.