From 6a712c50fb93e7d1e2e77ccbfc5fd0f9ea5eca95 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Fri, 1 Jul 2022 15:20:24 +0200 Subject: [PATCH] Do cmds on single line Contributes to CURA-9365 --- .github/workflows/cura-installer.yml | 31 +++------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/.github/workflows/cura-installer.yml b/.github/workflows/cura-installer.yml index 404364399a..69ffddfd30 100644 --- a/.github/workflows/cura-installer.yml +++ b/.github/workflows/cura-installer.yml @@ -179,42 +179,17 @@ jobs: - name: Create the MacOS dmg (Bash) alternative if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }} - run: | - create-dmg \ - --window-pos 640 360 \ - --volicon "../cura_inst/packaging/icons/VolumeIcons_Cura.icns" \ - --window-size 690 503 \ - --icon-size 90 \ - --icon "Ultimaker Cura.app" 169 272 \ - --app-drop-link 520 272 \ - --eula "../cura_inst/packaging/cura_license.txt" \ - --background "../cura_inst/packaging/icons/cura_background_dmg.png" \ - --rez Rez \ - "./Ultimaker-Cura.dmg" \ - "./Ultimaker-Cura.app" - sync + run: create-dmg --window-pos 640 360 --volicon "../cura_inst/packaging/icons/VolumeIcons_Cura.icns" --window-size 690 503 --icon-size 90 --icon "Ultimaker-Cura.app" 169 272 --app-drop-link 520 272 --eula "../cura_inst/packaging/cura_license.txt" --background "../cura_inst/packaging/icons/cura_background_dmg.png" --rez Rez "./Ultimaker-Cura.dmg" "./Ultimaker-Cura.app" working-directory: dist - name: Sign the MacOS dmg (Bash) alternative if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }} - run: | - codesign -s "$CODESIGN_IDENTITY" \ - --timestamp \ - -i "nl.ultimaker.cura.dmg" \ - "./Ultimaker-Cura.dmg" - sync + run: codesign -s "$CODESIGN_IDENTITY" --timestamp -i "nl.ultimaker.cura.dmg" "./Ultimaker-Cura.dmg" working-directory: dist - name: Notarize the MacOS dmg (Bash) alternative if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }} - run: | - xcrun altool \ - --notarize-app \ - --primary-bundle-id "nl.ultimaker.cura" \ - --username "$MAC_NOTARIZE_USER" \ - --password "$MAC_NOTARIZE_PASS" \ - --file "./Ultimaker-Cura.dmg" - sync + run: xcrun altool --notarize-app --primary-bundle-id "nl.ultimaker.cura" --username "$MAC_NOTARIZE_USER" --password "$MAC_NOTARIZE_PASS" --file "./Ultimaker-Cura.dmg" working-directory: dist - name: Create the MacOS dmg (Bash)