Skip to content

Commit 77dc12e

Browse files
committed
modify time of day for automatic run, deconflict possible nuke cert from other OS apps
1 parent 967d5ec commit 77dc12e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build_loop.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
## Remove the "#" sign from the beginning of the line below to get automated builds on push (code changes in your repository)
77
#push:
88

9+
# Automated builds now include automatic certificate update - the nuke certs part of that process could
10+
# affect other OS apps if run simultaneously.
11+
# Each OS needs a time of day distinct from other apps, LoopWorkspace uses 9 every Wed and 7 every 1st of month
912
schedule:
10-
- cron: "0 8 * * 3" # Checks for updates at 08:00 UTC every Wednesday
11-
- cron: "0 6 1 * *" # Builds the app on the 1st of every month at 06:00 UTC
13+
- cron: "0 9 * * 3" # Checks for updates at 09:00 UTC every Wednesday
14+
- cron: "0 7 1 * *" # Builds the app on the 1st of every month at 07:00 UTC
1215

1316
env:
1417
UPSTREAM_REPO: LoopKit/LoopWorkspace
@@ -195,7 +198,7 @@ jobs:
195198
| # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
196199
github.event_name == 'workflow_dispatch' ||
197200
(needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
198-
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 6 1 * *') ||
201+
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 7 1 * *') ||
199202
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
200203
)
201204
steps:

0 commit comments

Comments
 (0)