Keep runners alive #19
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: | |
# times in UTC, standard Chron format | |
- cron: '0 21 * * *' # 9pm UTC every day | |
workflow_dispatch: | |
jobs: | |
windows_gpu: | |
runs-on: [self-hosted,Windows] | |
steps: | |
- name: Windows keep alive | |
shell: powershell | |
run: Write-Host "Keep alive" | |
- name: GPU info | |
run: nvidia-smi | |
wsl_gpu: | |
runs-on: [self-hosted,WSL] | |
steps: | |
- name: WSL keep alive | |
run: echo "Keep alive" | |
- name: GPU info | |
run: nvidia-smi | |
linux_gpu: | |
runs-on: [self-hosted,Linux] | |
steps: | |
- name: Linux keep alive | |
run: echo "Keep alive" | |
- name: GPU info | |
run: nvidia-smi |