Selaa lähdekoodia

CI: Use Phased Group Rollout in Sparkle for stable tags

Ryan Foster 1 vuosi sitten
vanhempi
sitoutus
3726a021eb
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      .github/actions/sparkle-appcast/action.yaml

+ 4 - 0
.github/actions/sparkle-appcast/action.yaml

@@ -160,6 +160,10 @@ runs:
           --channel '${{ inputs.channel }}'
         )
 
+        if [[ '${{ inputs.channel }}' == 'stable' ]] {
+          sparkle_options+=(--phased-rollout-interval 86400)
+        }
+
         Sparkle/bin/generate_appcast \
           ${sparkle_options} \
           builds