mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:35:59 +08:00
Do cmds on single line
Contributes to CURA-9365
This commit is contained in:
parent
4316ad0548
commit
6a712c50fb
31
.github/workflows/cura-installer.yml
vendored
31
.github/workflows/cura-installer.yml
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user