Keep runners alive #60
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: Keep runners alive | |
on: | |
schedule: | |
# Run this workflow shortly before the time when the VM auto-shutdown, which is at 04:00:00 UTC. | |
- cron: '45 3 */4 * *' | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
start: | |
if: github.repository == 'mockingbirdnest/Principia' | |
runs-on: windows-latest | |
steps: | |
- name: Start runners | |
uses: mockingbirdnest/actions/windows/start_runners@main | |
with: | |
client_id: ${{ secrets.PRINCIPIA_BUILD_CLIENT_ID }} | |
tenant_id: ${{ secrets.PRINCIPIA_BUILD_TENANT_ID }} | |
subscription_id: ${{ secrets.PRINCIPIA_BUILD_SUBSCRIPTION_ID }} | |