mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Do cmds on single line
Contributes to CURA-9365
This commit is contained in:
parent
4316ad0548
commit
6a712c50fb
1 changed files with 3 additions and 28 deletions
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
|
- name: Create the MacOS dmg (Bash) alternative
|
||||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||||
run: |
|
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"
|
||||||
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
|
|
||||||
working-directory: dist
|
working-directory: dist
|
||||||
|
|
||||||
- name: Sign the MacOS dmg (Bash) alternative
|
- name: Sign the MacOS dmg (Bash) alternative
|
||||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||||
run: |
|
run: codesign -s "$CODESIGN_IDENTITY" --timestamp -i "nl.ultimaker.cura.dmg" "./Ultimaker-Cura.dmg"
|
||||||
codesign -s "$CODESIGN_IDENTITY" \
|
|
||||||
--timestamp \
|
|
||||||
-i "nl.ultimaker.cura.dmg" \
|
|
||||||
"./Ultimaker-Cura.dmg"
|
|
||||||
sync
|
|
||||||
working-directory: dist
|
working-directory: dist
|
||||||
|
|
||||||
- name: Notarize the MacOS dmg (Bash) alternative
|
- name: Notarize the MacOS dmg (Bash) alternative
|
||||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||||
run: |
|
run: xcrun altool --notarize-app --primary-bundle-id "nl.ultimaker.cura" --username "$MAC_NOTARIZE_USER" --password "$MAC_NOTARIZE_PASS" --file "./Ultimaker-Cura.dmg"
|
||||||
xcrun altool \
|
|
||||||
--notarize-app \
|
|
||||||
--primary-bundle-id "nl.ultimaker.cura" \
|
|
||||||
--username "$MAC_NOTARIZE_USER" \
|
|
||||||
--password "$MAC_NOTARIZE_PASS" \
|
|
||||||
--file "./Ultimaker-Cura.dmg"
|
|
||||||
sync
|
|
||||||
working-directory: dist
|
working-directory: dist
|
||||||
|
|
||||||
- name: Create the MacOS dmg (Bash)
|
- name: Create the MacOS dmg (Bash)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue