-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (45 loc) · 1.29 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 Bindings Action'
description: 'Generate bindings for TwinCAT PLCs'
branding:
icon: 'book-open'
color: 'gray-dark'
inputs:
username:
description: 'Username for the Zeugwerk Bindings Service'
required: true
default: ''
password:
description: 'Password for the Zeugwerk Bindings Service'
required: true
default: ''
tmc:
description: 'Path to TwinCAT .tmc file'
required: true
default: ''
project:
description: 'Name of the project, the generated files will use this name for the generated classes'
required: true
default: 'Default'
filter:
description: ''
required: false
default: 'Space seperated list of datatypes, which should be regarded when creating bindings. Defaults to all datatypes if the parameter is empty'
languages:
description: ''
required: false
default: 'Space seperated list of programming languages (cs cpp) for which bindings should be generated for'
version:
description: ''
required: false
default: 'Version of your PLC'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.tmc }}
- ${{ inputs.project }}
- ${{ inputs.filter }}
- ${{ inputs.languages }}
- ${{ inputs.version }}