This job handles caching the flutter candidate, so that we don't need to keep downloading it and setting it up for each job.
To clear the Github Actions cache for a specific flutter candidate:
- Navigate to Devtool's Actions Caches
- Filter for the candidate you would like to clear
- Delete all of the cache entries for your candidate
- There should be a Linux and a MacOS entry for each candidate
The Daily Dev Bump workflow is meant to facilitate -dev.* version bumps, on a daily cadence.
Using a cron trigger, this workflow will:
-
perform a dev version bump
-
create a PR with an
autosubmitlabel -
The PR will then be automatically approved and merged by the processes from the Flutter Cocoon repo ,
- The Flutter auto-submit bot automatically merges the PR.
In order to allow the automatic approval and submission of the version bump PRs, DartDevtoolWorkflowBot was created.
DartDevtoolWorkflowBot is a Github account that is used to author the version bump PRs in daily-dev-bump.yaml. It has special permissions so that when the Cocoon bots see a PR authored by DartDevtoolWorkflowBot, they can be automatically approved.
DartDevtoolWorkflowBot's Personal Access Token must be cycled every 90 days. The instructions to rotate the token can be found in the email for the Dart DevTool Workflow Token rotation.
To manually trigger a Dev Version Bump:
- Navigate to the Action entry for Dev Bumps
- Select
Run workflow - Run the workflow from
master