-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathaction.yml
More file actions
77 lines (75 loc) · 2.21 KB
/
Copy pathaction.yml
File metadata and controls
77 lines (75 loc) · 2.21 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: 'Caching for Turborepo'
description:
'Sets up Turborepo Remote Caching to work with GitHub Actions built-in cache.
No Vercel account access tokens needed.'
author: 'HUORT Louis'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'upload-cloud'
color: 'blue'
# Define your inputs here.
inputs:
provider:
description: 'Provider to use for caching (github, s3)'
required: true
default: 'github'
cache-prefix:
description: 'Prefix for the cache key'
required: false
default: turbogha_
use-relative-cache-path:
description:
'Use a relative archive path for the GitHub cache provider so cache
versions can match across runners with different temporary directories'
required: false
default: 'false'
max-age:
description:
'Cleanup cache files older than this age (ex: 1mo, 1w, 1d). using
https://www.npmjs.com/package/parse-duration'
required: false
max-files:
description:
'Cleanup oldest cache files when number of files exceeds this limit (ex:
300)'
required: false
max-size:
description:
'Cleanup oldest cache files when total size exceeds this limit (ex: 100mb,
10gb)'
required: false
s3-access-key-id:
description: 'AWS S3 access key ID'
required: false
s3-secret-access-key:
description: 'AWS S3 secret access key'
required: false
s3-session-token:
description:
'AWS S3 session token (optional, only required for temporary credentials
e.g. OIDC authentication)'
required: false
s3-bucket:
description: 'AWS S3 bucket name'
required: false
s3-region:
description: 'AWS S3 region'
required: false
s3-prefix:
description: 'Prefix for S3 objects'
required: false
default: 'turbogha/'
s3-endpoint:
description: 'S3 endpoint (required when provider is s3)'
required: false
default: 'https://s3.amazonaws.com'
server-port:
description:
'Port for the caching server. Use 0 for automatic port assignment to avoid
EADDRINUSE conflicts on shared runners (default: 41230)'
required: false
default: '41230'
runs:
using: node24
main: dist/setup/index.js
post: dist/post/index.js