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:
PatTheMav
2026-01-06 22:40:21 +01:00
committed by Ryan Foster
parent 3e7fbf69a7
commit 5e1cd6057a
+7 -1
View File
@@ -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"