The official RunsOn action
https://runs-on.com/ ↗// readme
runs-on/action
RunsOn Action for magic caching, and more. This action is required if you are using the magic caching feature of RunsOn (extras=s3-cache job label).
Usage
jobs:
build:
runs-on: runs-on=${{ github.run_id }}/runner=2cpu-linux-x64/extras=s3-cache
steps:
- uses: runs-on/action@v2
- other steps
When RunsOn fails a job because AWS is reclaiming its EC2 Spot instance, the post step skips all of its work (cost report, metrics summary, and sticky cache shutdown). The runner then has time to report the interruption before the instance shuts down, and RunsOn discards the sticky disk changes of an interrupted job anyway.
Options
show_env
Show all environment variables available to actions (used for debugging purposes).
jobs:
build:
runs-on: runs-on=${{ github.run_id }}/runner=2cpu-linux-x64/extras=s3-cache
steps:
- uses: runs-on/action@v2
with:
show_env: true
Possible values:
true- Show all environment variablesfalse- Don’t show environment variables (default)
show_costs
Displays how much it cost to run that workflow job, and…