فهرست منبع

CI: Use Phased Group Rollout in Sparkle for stable tags

Ryan Foster 1 سال پیش
والد
کامیت
3726a021eb
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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