Skip to content

Commit

Permalink
Run the build on 'main' periodically to keep the caches alive (#50)
Browse files Browse the repository at this point in the history
Notes from Github:

* In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days. For information on re-enabling a disabled workflow, see "Disabling and enabling a workflow."

* When the last user to commit to the cron schedule of a workflow is removed from the organization, the scheduled workflow will be disabled. If a user with write permissions to the repository makes a commit that changes the cron schedule, the scheduled workflow will be reactivated. Note that, in this situation, the workflow is not reactivated by any change to the workflow file; you must alter the cron value and commit this change.
  • Loading branch information
mikeage authored Sep 26, 2024
1 parent b304e3c commit 4e01284
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ on: # yamllint disable-line rule:truthy
- "**"
tags:
- "v*"
schedule:
- cron: "31 18 * * sat" # Weekly, Saturday at 18:31 UTC

env:
UNITY_VERSION: "2019.4.25f1"
jobs:
configuration:
if: |
(github.event_name == 'schedule') ||
(github.event_name == 'pull_request') ||
(
github.event_name == 'push' &&
Expand Down

0 comments on commit 4e01284

Please sign in to comment.