Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 20 additions & 18 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./
with:
installer-only: true
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true

- name: Test installer outputs
Expand Down Expand Up @@ -52,6 +52,8 @@ jobs:
patch: 3
- generation: 3.5.21.0
patch: 2
- generation: 3.5.21.0
patch: 3

runs-on: windows-latest
permissions:
Expand All @@ -64,7 +66,7 @@ jobs:
id: setup_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: ${{ matrix.generation }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -100,10 +102,10 @@ jobs:
id: setup_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
generation: 3.5.21.0
patch: 2
patch: 3
architecture: 64
install-add-ons: true
add-ons-list: |
Expand Down Expand Up @@ -133,10 +135,10 @@ jobs:
id: setup_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
generation: 3.5.21.0
patch: 2
patch: 3
architecture: 64
install-add-ons: true
add-ons-from-file-list: |
Expand Down Expand Up @@ -165,10 +167,10 @@ jobs:
id: setup_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
generation: 3.5.21.0
patch: 2
patch: 3
architecture: 64
install-add-ons: true
add-ons-list: |
Expand Down Expand Up @@ -201,10 +203,10 @@ jobs:
id: setup_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
generation: 3.5.21.0
patch: 2
patch: 3
architecture: 64
install-add-ons: true
add-ons-installer-import-file: example/custom_import_files/example_import_add-ons.installation-config
Expand All @@ -231,7 +233,7 @@ jobs:
id: codesys_3_5_20_0_x64
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: 3.5.20.0
architecture: 64
Expand All @@ -241,7 +243,7 @@ jobs:
id: codesys_3_5_21_2_x64
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: 3.5.21.0
architecture: 64
Expand All @@ -251,7 +253,7 @@ jobs:
id: codesys_3_5_19_6_x86
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: 3.5.19.0
architecture: 32
Expand Down Expand Up @@ -288,7 +290,7 @@ jobs:
id: setup_custom
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
generation: 3.5.21.0
patch: 0
architecture: 64
Expand Down Expand Up @@ -329,7 +331,7 @@ jobs:
uses: ./
with:
installer-only: true
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true

- name: Verify installer is available
Expand All @@ -347,7 +349,7 @@ jobs:
id: install_codesys
uses: ./
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: 3.5.21.0
patch: 2
Expand Down Expand Up @@ -386,7 +388,7 @@ jobs:
generation: "3.5.21.0"
patch: "2"
architecture: "64"
installer-version: "2.4.1"
installer-version: "2.5.0.0"
auto-update: true

steps:
Expand All @@ -397,7 +399,7 @@ jobs:
id: test_setup
uses: ./
with:
installer-version: ${{ matrix.test.installer-version || '2.4.1' }}
installer-version: ${{ matrix.test.installer-version || '2.5.0.0' }}
auto-update-installer: ${{ matrix.test.auto-update || 'false' }}
generation: ${{ matrix.test.generation }}
patch: ${{ matrix.test.patch }}
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ It can also be used to process test cases or other CI/CD jobs in your workflow.
> [!IMPORTANT]
> This action is only supported to run on windows OS.

> [!WARNING]
> From CODESYS Installer Version >= `2.5.0.0` CODESYS changed the Version format to `<Major>.<Minor>.<Patch>.<Fix|Build>`.
> Versions < `2.5.0.0` used the Version format `<Major>.<Minor>.<Patch>`.
> To use a specific version, check the CODESYS Installer versions from the [version history](https://store.codesys.com/en/codesys-installer.html#product.attributes.wrapper).

## Usage

>:white_flag: See the [inputs](#inputs) section for detailed descriptions.
Expand All @@ -20,11 +25,11 @@ It can also be used to process test cases or other CI/CD jobs in your workflow.
- name: Setup CODESYS
uses: powerIO-GmbH/action-codesys-setup@v1
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: false
generation: 3.5.21.0
architecture: 64
patch: 2
patch: 3
```

## Usage examples
Expand All @@ -35,7 +40,7 @@ It can also be used to process test cases or other CI/CD jobs in your workflow.
uses: powerIO-GmbH/action-codesys-setup@v1
with:
installer-only: true
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
```

Expand All @@ -60,7 +65,7 @@ It can also be used to process test cases or other CI/CD jobs in your workflow.
id: setup_codesys
uses: powerIO-GmbH/action-codesys-setup@v1
with:
installer-version: 2.4.1
installer-version: 2.5.0.0
auto-update-installer: true
generation: 3.5.20.0
architecture: 64
Expand All @@ -79,7 +84,7 @@ It can also be used to process test cases or other CI/CD jobs in your workflow.
| Input | Description | Required | Default |
|-------|-------------|----------|----------|
| `installer-only` | If set to `true`, only the installer will be installed without a CODESYS installation. | false | `false` |
| `installer-version` | The version of the installer to use to install the CODESYS installation. | false | `2.4.1` |
| `installer-version` | The version of the installer to use to install the CODESYS installation. | false | `2.5.0.0` |
| `generation` | This is the base generation you want to install (e.g., `3.5.21.0`). Even if you want to install version `3.5.21.2`, you have to define the generation as `3.5.21.0`. The patch version is defined by the `patch` input. | false | `3.5.21.0` |
| `architecture` | The installation architecture of CODESYS. Allowed inputs: `32` and `64`. | false | `64` |
| `patch` | The patch of the CODESYS version to install. | false | `0` |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ inputs:
installer-version:
description: "The version of the installer to use to install the CODESYS installation."
required: false
default: 2.4.1
default: 2.5.0.0

generation:
description: >
Expand Down
Loading