浏览代码

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