mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Update build_macos.yaml
This commit is contained in:
parent
8497d743cd
commit
f79713980a
3
.github/workflows/build_macos.yaml
vendored
3
.github/workflows/build_macos.yaml
vendored
@ -106,7 +106,8 @@ jobs:
|
||||
|
||||
PKG_JSON_VERSION=$(cat package.json | jq -r .version)
|
||||
LATEST=$(find dist -type f -iname "*-mac.zip" | xargs -0 -n1 -- basename)
|
||||
URL="${{ inputs.base-url }}/update/macos/$LATEST"
|
||||
# Encode spaces in the URL as Squirrel.Mac complains about bad JSON otherwise
|
||||
URL="${{ inputs.base-url }}/update/macos/${LATEST// /%20}"
|
||||
|
||||
jq -n --arg version "${VERSION:-$PKG_JSON_VERSION}" --arg url "$URL" '
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user