diff --git a/.github/actions/sparkle-appcast/action.yaml b/.github/actions/sparkle-appcast/action.yaml index 4306d5f32..9cc375536 100644 --- a/.github/actions/sparkle-appcast/action.yaml +++ b/.github/actions/sparkle-appcast/action.yaml @@ -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))