This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
54 lines (52 loc) · 2.01 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
name: 'Skyline DataMiner Deploy Action'
description: 'The action builds a DataMiner Application Package from your solution and deploys it to your cloud connected DataMiner System.'
branding:
icon: 'download-cloud'
color: 'gray-dark'
env:
working-directory: ./GitHubAction/Package.Builder
inputs:
api-key: # id of input
description: 'The API-key generated in the DCP Admin app as authentication for a certain DataMiner System. E.g. g597e77412e34297b827c2570a8fa2bc'
required: true
solution-path:
description: 'The path to the .sln file of the solution. Atm only DataMiner Automation Script solutions are supported. E.g ./Example/Script.sln. Required for stages: All and Build.'
required: false
package-name:
description: 'The chosen name of the package. E.g. MyPackageName. Required for stages: All, Build and Publish.'
required: false
version:
description: 'The version number for the package (format A.B.C). E.g. 1.0.1. Required for stages: All, Build and Publish.'
required: false
timeout:
description: 'The maximum time spend on waiting for the deployment to finish (format: HH:MM). E.g. 5:00.'
required: false
default: "12:00"
stage:
description: 'The specific stage to run in this action. Possible values are: Build, Publish and Deploy. All will run all 3 stages consecutively.'
required: false
default: "All"
artifact-id:
description: 'The artifact Id of the package that you would like to deploy'
required: false
outputs:
artifact-id:
description: 'The artifact Id of the package has been published'
runs:
using: 'docker'
image: 'docker://ghcr.io/skylinecommunications/skyline-dataminer-deploy-action:1.0.0'
args:
- --api-key
- ${{ inputs.api-key }}
- --solution-path
- ${{ inputs.solution-path }}
- --package-name
- ${{ inputs.package-name }}
- --version
- ${{ inputs.version }}
- --timeout
- ${{ inputs.timeout }}
- --stage
- ${{ inputs.stage }}
- --artifact-id
- ${{ inputs.artifact-id }}