mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Update build-macos.yml
This commit is contained in:
parent
cf5b61fb88
commit
dbd91eeebf
12
.github/workflows/build-macos.yml
vendored
12
.github/workflows/build-macos.yml
vendored
@ -23,9 +23,21 @@ jobs:
|
||||
run: npm install
|
||||
working-directory: simpliplay
|
||||
|
||||
- name: Import macOS certificate
|
||||
env:
|
||||
CERT_P12_BASE64: ${{ secrets.MAC_CERTIFICATE_P12 }}
|
||||
CERT_PASSWORD: ${{ secrets.MAC_CERTIFICATE_PASSWORD }}
|
||||
run: |
|
||||
echo "$CERT_P12_BASE64" | base64 -D > cert.p12
|
||||
security import cert.p12 -k ~/Library/Keychains/login.keychain-db -P "$CERT_PASSWORD" -T /usr/bin/codesign
|
||||
security set-key-partition-list -S apple-tool:,apple: -s -k "" ~/Library/Keychains/login.keychain-db
|
||||
|
||||
- name: Build macOS
|
||||
env:
|
||||
CSC_IDENTITY_AUTO_DISCOVERY: false
|
||||
CSC_KEYCHAIN: login.keychain-db
|
||||
CSC_NAME: "Anirudh Sevugan"
|
||||
CSC_LINK: ${{ secrets.MAC_CERTIFICATE_PASSWORD }}
|
||||
run: npx electron-builder --mac --x64 --arm64 --universal
|
||||
working-directory: simpliplay
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user