-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
action.yml
63 lines (63 loc) · 1.38 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: 'R2 Upload Action'
description: 'GitHub Action to upload files to a Cloudflare R2 bucket'
author: 'ryand56'
branding:
icon: 'upload-cloud'
color: 'white'
inputs:
r2-account-id:
description: ''
required: true
r2-access-key-id:
description: ''
required: true
r2-secret-access-key:
description: ''
required: true
r2-bucket:
description: ''
required: true
r2-jurisdiction:
description: ''
required: false
source-dir:
description: ''
required: true
destination-dir:
description: ''
required: false
output-file-url:
description: ''
default: 'true'
required: false
multipart-size:
description: 'use multipart upload when file size is greater than this value (MB)'
default: '100'
required: false
max-retries:
description: 'maximum number of retries'
default: '5'
required: false
retry-timeout:
description: 'time to wait between retries'
default: '2000'
required: false
multipart-concurrent:
description: 'whether to use concurrent while multipart upload'
default: 'true'
required: false
keep-file-fresh:
description: ''
default: 'false'
required: false
custom-charset:
description: ''
required: false
outputs:
result:
description: '`success` or `failure`'
file-urls:
description: ''
runs:
using: 'node20'
main: 'dist/index.js'