-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (45 loc) · 1.75 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
name: 'Zeugwerk CI/CD Action'
description: 'Build and Test a TwinCAT3 project with a Zeugwerk CI/CD server.'
branding:
icon: 'book-open'
color: 'gray-dark'
inputs:
username:
description: 'Username for the Zeugwerk CI/CD Service'
required: true
default: ''
password:
description: 'Password for the Zeugwerk CI/CD Service'
required: true
default: ''
tcversion:
description: 'TwinCAT Version (i.e. TC3.1.4024.22) that should be used to compile and test the PLCs. The TwinCAT Version has to be available on a Zeugwerk CI/CD Server. If empty, an arbitrary TwinCAT version, which is available on the Zeugwerk CI environment, is used.'
required: false
default: ''
workspace:
description: 'Folder, which contains the .Zeugwerk folder, defaults to ./'
required: false
default: './'
version:
description: 'If set to a valid version number (e.g. 1.2.3.4, 1.2.3-alpha), zkbuild will create the artifacts with the passed version number instead of using the latest (version) tag of the repository'
required: false
default: ''
skip-build:
description: 'If set to true, zkbuild will skip building the artifact of the project. This can be useful to speed up the build process if you are only interested in the outcome of the unittests'
required: false
default: 'false'
skip-test:
description: 'If set to true, zkbuild will skip building and executing the unit tests defined in the project'
required: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.tcversion }}
- ${{ inputs.workspace }}
- ${{ inputs.version }}
- ${{ inputs.skip-build }}
- ${{ inputs.skip-test }}