-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
57 lines (53 loc) · 1.61 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
name: 'Upload artifacts & release assets'
description: 'Upload each file individually as an artifact or as a release file'
author: 'nanoufo'
branding:
icon: arrow-up-circle
color: orange
inputs:
path:
description: 'A file or wildcard pattern that describes what to upload'
required: true
if-no-files-found:
description: >
The desired behavior if no files are found for any glob of the provided path.
Available Options:
warn: Output a warning but do not fail the action
error: Fail the action with an error message
ignore: Do not output any warnings or errors, the action does not fail
default: 'warn'
required: false
retention-days:
description: >
Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day.
Maximum 90 days unless changed from the repository settings page.
required: false
release-upload-url:
description: URL used to upload files to release.
required: false
upload-release-files:
description: Whether to upload files to release.
default: 'false'
required: false
retry-limit:
description: >
Number of times to retry uploading a file if it fails.
Minimum 0.
Maximum 10.
default: '3'
required: false
retry-interval:
description: >
Number of seconds to wait between upload attempts.
Minimum 1.
Maximum 10.
default: '3'
required: false
github-token:
description: 'GitHub token to use for authentication'
required: false
default: ${{ github.token }}
runs:
using: 'node20'
main: 'dist/index.js'