Skip to content

Update heartbeat workflow to run on designated self-hosted runners #3

Update heartbeat workflow to run on designated self-hosted runners

Update heartbeat workflow to run on designated self-hosted runners #3

Workflow file for this run

# SPDX-FileCopyrightText: (C) The Kokkos-FFT development team, see COPYRIGHT.md file
#
# SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
# Send a dummy job to the custom runners every two weeks to keep them alive.
# See https://github.com/actions/runner/issues/756 .
name: CI self-hosted runners heartbeat
on:
schedule:
- cron: "0 1 1,15" # every 1st and 15th of the month at 1am UTC
workflow_dispatch:
jobs:
heartbeat:

Check failure on line 16 in .github/workflows/heartbeat.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/heartbeat.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16
runs-on: ["self-hosted", ${{ matrix.runner }}]
strategy:
matrix:
runner: ["cuda"]
steps:
- name: Heartbeat
run: echo "Runner is alive"