-
Notifications
You must be signed in to change notification settings - Fork 54
/
action.yml
41 lines (41 loc) · 1.37 KB
/
action.yml
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
name: "Ccache for gh actions"
description: "A GitHub Action that speeds up compiling for C/C++ projects using ccache."
author: "Hendrik Muhs<[email protected]>"
inputs:
key:
description: "An additional key for the cache"
required: false
restore-keys:
description: "An ordered list of keys to use for restoring the cache if no cache hit occurred for key"
required: false
restore:
description: "Flag for if you should restore cache or not, useful for generating clean cache."
default: true
required: false
max-size:
description: "Max size of the cache"
default: "500M"
verbose:
description: "Verbosity level: 0 (default), 1 or 2. Ignore for sccache."
default: 0
variant:
description: 'Ccache variant to use. Either "ccache" (the default) or "sccache" (see https://github.com/mozilla/sccache)'
default: ccache
save:
description: "If 'false', do not save the cache, only restore."
default: true
append-timestamp:
description: "Append a timestamp to the cache key (default: true)"
default: true
required: false
create-symlink:
description: "If set to 'true', create symlinks for ccache in /usr/local/bin to override default toolchains"
default: false
required: false
runs:
using: "node20"
main: "dist/restore/index.js"
post: "dist/save/index.js"
branding:
icon: "archive"
color: "gray-dark"