From ee87e0a925b1ef4560c4e7f3f9091e3d2a38e0e2 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Fri, 6 Jan 2023 15:30:27 +0100 Subject: [PATCH] negate bool input in appropriate place --- .github/workflows/cura-installer.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cura-installer.yml b/.github/workflows/cura-installer.yml index 9f24cae1f9..cef65061e2 100644 --- a/.github/workflows/cura-installer.yml +++ b/.github/workflows/cura-installer.yml @@ -230,17 +230,17 @@ jobs: run: pyinstaller ./cura_inst/UltiMaker-Cura.spec - name: Archive the artifacts (bash) - if: ${{ inputs.installer && runner.os != 'Windows' }} + if: ${{ !inputs.installer && runner.os != 'Windows' }} run: tar -zcf "./UltiMaker-Cura-$CURA_VERSION_FULL-${{ inputs.os_name }}.tar.gz" "./UltiMaker-Cura/" working-directory: dist - name: Archive the artifacts (Powershell) - if: ${{ inputs.installer && runner.os == 'Windows' }} + if: ${{ !inputs.installer && runner.os == 'Windows' }} run: Compress-Archive -Path ".\UltiMaker-Cura" -DestinationPath ".\UltiMaker-Cura-$Env:CURA_VERSION_FULL-${{ inputs.os_name }}.zip" working-directory: dist - name: Create the Windows exe installer (Powershell) - if: ${{ inputs.installer && runner.os == 'Windows' && inputs.msi_installer }} + if: ${{ inputs.installer && runner.os == 'Windows' && !inputs.msi_installer }} run: | python ..\cura_inst\packaging\NSIS\create_windows_installer.py ../cura_inst . "UltiMaker-Cura-$Env:CURA_VERSION_FULL-${{ inputs.os_name }}.exe" working-directory: dist @@ -252,7 +252,7 @@ jobs: working-directory: dist - name: Sign the Windows exe installer (Powershell) - if: ${{ inputs.installer && runner.os == 'Windows' && inputs.msi_installer }} + if: ${{ inputs.installer && runner.os == 'Windows' && !inputs.msi_installer }} env: PFX_PATH: ${{ steps.create-pfx.outputs.PFX_PATH }} run: |