-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.23 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
name: 'Twinpack Upload'
description: 'Uploads TwinCAT .library files as packages to Twinpack'
branding:
icon: 'book-open'
color: 'gray-dark'
inputs:
username:
description: 'Username for Twinpack'
required: true
default: ''
password:
description: 'Password for Twinpack'
required: true
default: ''
path:
description: 'Path where libraries are located'
required: false
default: '.'
configuration:
description: ''
required: false
default: 'Release'
target:
description: ''
required: false
default: 'TC3.1'
branch:
description: ''
required: false
default: 'main'
runs:
using: "composite"
steps:
- run: |
curl.exe -s -o twinpack-latest.tar.gz https://zeugwerk.dev/Tools/twinpack-latest.tar.gz
tar -xf twinpack-latest.tar.gz
./twinpack.exe push --username "${{ inputs.username }}" --password "${{ inputs.password }}" --without-config --library-path ${{ inputs.path }} \
--configuration ${{ inputs.configuration}} \
--target ${{ inputs.target }} \
--branch ${{ inputs.branch }} \
--skip-duplicate
shell: bash