Aspect Workflows Warming #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Aspect Workflows Warming | |
on: | |
# Run the workflows on a cron schedule to periodically create an up-to-date warming archive | |
schedule: | |
# M-F 15:05, 19:05, 23:05 UTC | |
- cron: '5 15,19,23 * * 1-5' | |
# Allow this to be triggered manually via the GitHub UI Actions tab | |
workflow_dispatch: | |
jobs: | |
warming-archive: | |
name: Aspect Workflows Warming | |
runs-on: [self-hosted, aspect-workflows, aspect-warming] | |
steps: | |
- name: Configure environment | |
run: configure_workflows_env | |
- uses: actions/checkout@v3 | |
- name: Agent health checks | |
run: agent_health_check | |
- name: Create warming archive | |
uses: aspect-build/[email protected] | |
with: | |
task: warming | |
- name: Archive warming tars | |
run: warming_archive |