mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-02 09:33:33 +00:00
CI: Use array to build options string for Sparkle
This commit is contained in:
parent
725f495213
commit
65edd99c64
17
.github/actions/sparkle-appcast/action.yaml
vendored
17
.github/actions/sparkle-appcast/action.yaml
vendored
|
@ -150,15 +150,18 @@ runs:
|
|||
print -n '${{ inputs.sparklePrivateKey }}' >> eddsa_private.key
|
||||
local feed_url='${{ steps.builds.outputs.feedUrl }}'
|
||||
local arch=${${${(s:_:)feed_url:t}[2]}//x86/x86_64}
|
||||
local sparkle_options=(
|
||||
--verbose
|
||||
--ed-key-file eddsa_private.key
|
||||
--download-url-prefix '${{ inputs.urlPrefix }}/'
|
||||
--full-release-notes-url "${feed_url//updates_*/notes_${{ inputs.channel }}.html}"
|
||||
--maximum-versions 0
|
||||
--maximum-deltas '${{ inputs.count }}'
|
||||
--channel '${{ inputs.channel }}'
|
||||
)
|
||||
|
||||
Sparkle/bin/generate_appcast \
|
||||
--verbose \
|
||||
--ed-key-file eddsa_private.key \
|
||||
--download-url-prefix '${{ inputs.urlPrefix }}/' \
|
||||
--full-release-notes-url "${feed_url//updates_*/notes_${{ inputs.channel }}.html}" \
|
||||
--maximum-versions 0 \
|
||||
--maximum-deltas ${{ inputs.count }} \
|
||||
--channel '${{ inputs.channel }}' \
|
||||
${sparkle_options} \
|
||||
builds
|
||||
|
||||
local -a deltas=(builds/*.delta(N))
|
||||
|
|
Loading…
Reference in a new issue