forked from mikehardy/buildcache-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (40 loc) · 1.44 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
name: 'buildcache-action'
description: 'GitHub Action that installs and configures buildcache to accelerate compilation'
author: 'Mike Hardy'
inputs:
cache_key:
description: 'An additional string to use in the cache key'
required: false
key:
description: 'deprecated: synonym for `cache_key`, use cache_key. Will be removed in v2'
required: false
save_cache:
description: 'Set to false not to save the cache at the end of the job'
required: false
access_token:
required: false
description: 'Your GitHub Access Token to fetch buildcache latest build, defaults to: {{ github.token }}'
default: '${{ github.token }}'
install_dir:
required: false
description: 'Where to install buildcache, GITHUB_WORKSPACE by default. Will be exported on PATH'
default: '${{ github.workspace }}'
upload_buildcache_log:
required: false
default: false
description: 'If set to true, any buildcache log create during the run will be uploaded as an artifact'
zero_buildcache_stats:
required: false
default: true
description: 'Defaults to true, will print stats on restore, then zero them for run-specific stats on save'
buildcache_tag:
required: false
default: "latest"
description: "Explicitly provide the tag for the release of buildcache to be used. ie. `v0.27.7`"
runs:
using: 'node20'
main: 'dist/restore/index.js'
post: 'dist/save/index.js'
branding:
icon: 'archive'
color: 'gray-dark'