mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 05:44:43 +08:00
CI: Replace buildspec in Appcast update action
Updates the sparkle-appcast action to use Sparkle version information from the CMake preset file instead of the obsoleted buildspec file.
This commit is contained in:
@@ -55,7 +55,13 @@ runs:
|
||||
local base_url
|
||||
local hash
|
||||
IFS=';' read -r version base_url hash <<< \
|
||||
"$(jq -r '.tools.sparkle | {version, baseUrl, hash} | join(";")' buildspec.json)"
|
||||
"$(jq -r '
|
||||
.configurePresets[]
|
||||
| select(.name=="dependencies")
|
||||
| .vendor["obsproject.com/obs-studio"].tools.sparkle
|
||||
| {version, baseUrl, hash}
|
||||
| join(";")
|
||||
' CMakePresets.json)"
|
||||
|
||||
mkdir -p Sparkle && pushd Sparkle
|
||||
curl -s -L -O "${base_url}/${version}/Sparkle-${version}.tar.xz"
|
||||
|
||||
Reference in New Issue
Block a user