diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml index 6ec1278..6a4b869 100644 --- a/.github/workflows/setup.yml +++ b/.github/workflows/setup.yml @@ -16,6 +16,7 @@ jobs: uses: ./ with: installer-version: 2.2.2 + auto-update-installer: false generation: 3.5.19.0 architecture: 64 patch: 6 diff --git a/action.yml b/action.yml index aec72af..83f1c07 100644 --- a/action.yml +++ b/action.yml @@ -12,6 +12,11 @@ inputs: required: false default: 2.2.2 + auto-update-installer: + description: 'Whether to automatically update the installer' + required: false + default: true + generation: description: 'The generation of the CODESYS version to install' required: false @@ -67,6 +72,7 @@ runs: Remove-Item -Path "installer.exe" - name: Update Installer + if: ${{ inputs.auto-update-installer }} shell: pwsh run: | cd "${{ steps.globals.outputs.INSTALLER_DIR }}"