mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 13:55:56 +08:00
use different pass
Contributes to CURA-9365
This commit is contained in:
parent
79e5950b50
commit
e6855ad2f9
24
.github/workflows/cura-installer.yml
vendored
24
.github/workflows/cura-installer.yml
vendored
@ -121,7 +121,7 @@ jobs:
|
||||
run: |
|
||||
CERTIFICATE_PATH=$RUNNER_TEMP/um_keychain.p12
|
||||
echo -n "$MACOS_CERT_P12" | base64 --decode --output $CERTIFICATE_PATH
|
||||
security import $CERTIFICATE_PATH -P $MACOS_CERT_PASS -A
|
||||
security import $CERTIFICATE_PATH -P $MACOS_CERT_USER -A
|
||||
security unlock -p $MACOS_CERT_USER $CERTIFICATE_PATH
|
||||
|
||||
- name: Clean Conan local cache
|
||||
@ -176,6 +176,28 @@ jobs:
|
||||
run: python ../cura_inst/packaging/AppImage/create_appimage.py ./Ultimaker-Cura $CURA_VERSION_FULL
|
||||
working-directory: dist
|
||||
|
||||
- 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
|
||||
working-directory: dist
|
||||
|
||||
- name: Sign the MacOS dmg (Bash) alternative
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||
run: |
|
||||
|
||||
- name: Create the MacOS dmg (Bash)
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Macos' }}
|
||||
run: python ../cura_inst/packaging/dmg/dmg_sign_notarize.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user