diff --git a/action.yml b/action.yml index c7104dc..7707968 100644 --- a/action.yml +++ b/action.yml @@ -21,11 +21,9 @@ runs: - name: Download installer shell: bash run: | - curl "https://store-archive.codesys.com/ftp_download/3S/Installer/000127/\ - ${{ inputs.installer-version }}\ - /CODESYS%20Installer%20\ - ${{ inputs.installer-version }}.exe" \ - -o installer.exe + base_url="https://store-archive.codesys.com/ftp_download/3S/Installer/000127" + version="${{ inputs.installer-version }}" + curl "${base_url}/${version}/CODESYS%20Installer%20${version}.exe" -o installer.exe - name: Install CODESYS installer shell: pwsh