-
Notifications
You must be signed in to change notification settings - Fork 2
87 lines (80 loc) · 2.42 KB
/
setup.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Setup CODESYS Installation in matrix
on:
push:
branches:
- main
- update-*
paths-ignore:
- 'README.md'
jobs:
setup-installation:
strategy:
matrix:
generation:
- 3.5.16.0
- 3.5.20.0
architecture:
- 32
- 64
include:
- generation: 3.5.16.0
patch: 3
- generation: 3.5.20.0
patch: 0
- generation: 3.5.20.0
patch: 1
- generation: 3.5.20.0
patch: 2
- generation: 3.5.20.0
patch: 3
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup CODESYS
id: setup_codesys
uses: ./
with:
installer-version: 2.3.0
auto-update-installer: false
generation: ${{ matrix.generation }}
architecture: ${{ matrix.architecture }}
patch: ${{ matrix.patch }}
- name: Test outputs
shell: bash
run: |
echo "Installer path: ${{ steps.setup_codesys.outputs.installer-path }}"
echo "Installer executable: ${{ steps.setup_codesys.outputs.installer-cli-executable }}"
echo "CODESYS Path: ${{ steps.setup_codesys.outputs.codesys-path }}"
echo "CODESYS executable: ${{ steps.setup_codesys.outputs.codesys-executable }}"
setup-installation-with-addons:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Install CODESYS with add-ons from list
#
# Add-ons list:
# dd6c2da4-2ed2-4076-9bf7-52394db68819 CODESYS Git
# fb6f3506-d165-4e75-a1b9-98895d542cc8 CODESYS Library Documentation Support
# bd131967-3a89-4e22-a845-79b0be0a3ce1 CODESYS Scripting
#
# Install a custom add-on package from file
#
# Path to the file: example/HVAC_Building_Process_Automation_SL_3.0.0.0.package
- name: Setup CODESYS
id: setup_codesys
uses: ./
with:
installer-version: 2.3.0
auto-update-installer: true
generation: 3.5.20.0
patch: 3
architecture: 64
install-add-ons: true
add-ons-list: |
dd6c2da4-2ed2-4076-9bf7-52394db68819,1.6.0.0
fb6f3506-d165-4e75-a1b9-98895d542cc8,4.5.0.0
bd131967-3a89-4e22-a845-79b0be0a3ce1,4.1.0.0
add-ons-from-file-list: |
example/HVAC_Building_Process_Automation_SL_3.0.0.0.package