-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
60 lines (60 loc) · 1.56 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
name: Upload Qiniu Artifacts
description: 'An Github action could help to upload artifacts to qiniu'
author: Qiniu
inputs:
bucket:
description: 'Qiniu bucket name'
required: true
type: string
access_key:
description: 'Qiniu access key'
required: true
type: string
secret_key:
description: 'Qiniu secret key'
required: true
type: string
prefix:
description: 'Remote path prefix'
default: ''
type: string
file_type:
description: 'Qiniu file type'
default: 0
type: number
overwrite:
description: >
If true, an artifact will overwrite artifacts with the same name.
If false, the action will fail if an artifact for the given name already exists.
Does not fail if the artifact does not exist.
default: true
type: boolean
concurrency:
description: 'Number of concurrent file uploads'
default: 10
type: number
multipart_upload_part_size:
description: 'Size of each part of a multipart upload'
default: 4194304
type: number
multipart_upload_threshold:
description: 'Minimum size of a file before it is uploaded via multipart upload'
default: 4194304
type: number
bucket_hosts:
description: 'Qiniu bucket service hosts'
type: string
upload_hosts:
description: 'Qiniu upload service hosts'
type: string
use_insecure_protocol:
description: 'Use HTTP protocol'
default: false
type: boolean
artifacts:
description: 'Files glob to archive'
required: 'true'
type: string
runs:
using: 'node20'
main: 'dist/index.js'