-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
77 lines (77 loc) · 2.22 KB
/
action.yaml
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: 'Artifacts Setup'
description: 'Set outputs to work with Artifacts Actions'
inputs:
url:
description: 'The url of Artifacts'
required: true
user:
description: |
The user to authenticate with Artifacts.
Usually setup as a secret in the organization,
ask your admin for the key name.
required: true
password:
description: |
The password to authenticate the operation with Artifacts.
required: true
method:
description: |
What kind of interaction you will perform with Artifacts.
With the choice of: setup, upload, promote, prolong.
required: true
name:
description: |
The name of the artifacts build you will use.
Only used with prolong and promote method
required: false
default: 'default'
tag:
description: |
The git tag name of the artifacts you are going to promote.
To be used with `promote` method.
required: false
default: 'default'
source:
description: |
File or directory to upload. To be used with the upload method.
required: false
default: '.'
workflow-name:
description: |
Name of the workflow file you want to have the Artifacts name.
required: false
default: 'default'
args:
description: |
List of key value pairs to set when indexing metadata on Artifacts
Example:
args: |
key=value
foo=bar
required: false
token:
description: |
The GitHub Personal Access Token (PAT)
default: ${{ github.token }}
required: false
outputs:
name:
description: |
The name of the artifacts for a specific workflow.
This name will be unique for the whole workflow and can be
used by further steps to locate the artifacts inside a job.
value: ${{ steps.artifacts.outputs.name }}
link:
description: |
The full url in which artifacts will be stored.
value: ${{ steps.artifacts.outputs.link }}
redirect-link:
description: |
The full url that will redirect clients to a pre-signed S3 url providing data
through the S3 bucket instead of the Artifacts service.
value: ${{ steps.artifacts.outputs.redirect-link }}
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'