-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathaction.yml
More file actions
50 lines (48 loc) · 2.71 KB
/
Copy pathaction.yml
File metadata and controls
50 lines (48 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 'runs-on/action'
description: 'RunsOn Action for magic caching, and more'
runs:
using: 'node24'
main: 'index.js'
post: 'post.js'
inputs:
show_env:
description: 'Show all environment variables'
required: false
default: 'false'
show_costs:
description: 'Control how execution costs are displayed: "inline" for log output, "summary" for GitHub job summary, any other value disables the feature. When the action is used more than once in a job, only the first enabled invocation reports costs.'
required: false
default: 'inline'
metrics:
description: 'Comma separated list of additional metrics to send to CloudWatch (cpu, network, memory, disk, io)'
required: false
default: ''
network_interface:
description: 'Network interface to monitor'
required: false
default: 'enp39s0'
disk_device:
description: 'Disk device to monitor'
required: false
default: 'nvme0n1p1'
sccache:
description: 'Enable sccache. Can take either "s3" (RunsOn S3 cache bucket) or be empty (disabled). You still need to setup sccache in your workflow, for instance with mozilla-actions/sccache-action.'
required: false
default: ''
sticky_cache:
description: 'Newline-separated sticky-disk cache records. Each line is a mode followed by comma-separated key=value options, for example buildkit or custom,path=vendor/cache. Custom paths must be directories. Supported modes: go, node, yarn, pnpm, ruby, rust, python, uv, poetry, apt, buildkit, git, git-full, gradle, maven, playwright, custom. Requires a sticky=<size> or sticky=<name>:<size> label; an incomplete agent contract or readiness timeout fails the action, while an explicit unavailable marker warns and continues cold. Linux and Windows (apt, buildkit, git and git-full modes are Linux only). Run after actions/checkout for workspace-relative caches; git and git-full must run before checkout and cannot share an invocation with workspace-relative caches; buildkit must run before docker/setup-buildx-action.'
required: false
default: ''
token:
description: 'GitHub token used by the git cache mode to sync repository mirrors from github.com. Supply a PAT if the job checks out private repositories other than the workflow repository.'
required: false
default: ${{ github.token }}
sticky_wait_timeout:
description: 'How long to wait for the sticky disk to be ready (positive Go duration, e.g. "15m")'
required: false
default: '15m'
outputs:
cache-hit:
description: 'Set to "true" when every requested cache path was restored from a previous snapshot, "false" otherwise'
buildkit-builder:
description: 'Stable Buildx builder name to pass to docker/setup-buildx-action and docker/build-push-action'