mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-30 02:14:23 +02:00
Use a password for the codesigning certificate
This commit is contained in:
5
.github/workflows/osx.yml
vendored
5
.github/workflows/osx.yml
vendored
@ -39,7 +39,8 @@ jobs:
|
|||||||
run-id: ${{ steps.runid.outputs.runid }}
|
run-id: ${{ steps.runid.outputs.runid }}
|
||||||
- name: Install codesigning certificate
|
- name: Install codesigning certificate
|
||||||
env:
|
env:
|
||||||
MACOS_CERTIFICATE: ${{ secrets.CODESIGN_MAC }}
|
MACOS_CERTIFICATE: ${{ secrets.CODESIGN_CERT }}
|
||||||
|
MACOS_CERTIFICATE_PWD: ${{ secrets.CODESIGN_PWD }}
|
||||||
KEYCHAIN_NAME: gpxsee
|
KEYCHAIN_NAME: gpxsee
|
||||||
KEYCHAIN_PWD: password
|
KEYCHAIN_PWD: password
|
||||||
run: |
|
run: |
|
||||||
@ -47,7 +48,7 @@ jobs:
|
|||||||
security create-keychain -p $KEYCHAIN_PWD $KEYCHAIN_NAME
|
security create-keychain -p $KEYCHAIN_PWD $KEYCHAIN_NAME
|
||||||
security default-keychain -s $KEYCHAIN_NAME
|
security default-keychain -s $KEYCHAIN_NAME
|
||||||
security unlock-keychain -p $KEYCHAIN_PWD $KEYCHAIN_NAME
|
security unlock-keychain -p $KEYCHAIN_PWD $KEYCHAIN_NAME
|
||||||
security import certificate.p12 -k $KEYCHAIN_NAME -T /usr/bin/codesign
|
security import certificate.p12 -k $KEYCHAIN_NAME -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
|
||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PWD $KEYCHAIN_NAME
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $KEYCHAIN_PWD $KEYCHAIN_NAME
|
||||||
- name: Create DMG
|
- name: Create DMG
|
||||||
run: macdeployqt GPXSee.app -dmg -appstore-compliant -codesign=GPXSee
|
run: macdeployqt GPXSee.app -dmg -appstore-compliant -codesign=GPXSee
|
||||||
|
Reference in New Issue
Block a user