Skip to content

(Workflow) initial

(Workflow) initial #2

Workflow file for this run

name: Setup CODESYS Installation
on:
push:
branches:
- master
env:
INSTALLER_VERSION: 2.2.2
INSTALLER_BASE_URL: https://store-archive.codesys.com/ftp_download/3S/Installer/000127/
INSTALLER_DIR: C:\Program Files (x86)\CODESYS\APInstaller
jobs:
setup-codesys:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download installer
shell: bash
run: |
curl "${{ env.INSTALLER_BASE_URL }}${{ env.INSTALLER_VERSION }}/CODESYS%20Installer%20${{ env.INSTALLER_VERSION }}.exe" -o installer.exe
- name: Install CODESYS
shell: pwsh
run: |
Start-Process -FilePath "installer.exe" -ArgumentList "/S /v/qb" -Wait
Remove-Item -Path "installer.exe"
- name: Update Installer
shell: pwsh
run: |
cd $env:INSTALLER_DIR
.\APInstaller.CLI.exe --selfUpdate