Merge pull request #8 from powerIO-GmbH/update-example #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Setup CODESYS Installation in matrix | |
on: | |
push: | |
branches: [main] | |
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 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup CODESYS | |
id: setup_codesys | |
uses: ./ | |
with: | |
installer-version: 2.2.2 | |
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.2.2 | |
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 |