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
282081dfe7
commit
ef6fdfb4a4
19
.github/workflows/build-macos.yml
vendored
19
.github/workflows/build-macos.yml
vendored
@ -29,6 +29,25 @@ jobs:
|
||||
security list-keychains -s build.keychain login.keychain-db
|
||||
security unlock-keychain -p "" build.keychain
|
||||
|
||||
- name: Check secret presence
|
||||
env:
|
||||
CERT_P12_BASE64: ${{ secrets.MAC_CERTIFICATE_P12 }}
|
||||
CERT_PASSWORD: "${{ secrets.MAC_CERTIFICATE_PASSWORD }}"
|
||||
run: |
|
||||
if [ -z "$CERT_PASSWORD" ]; then
|
||||
echo "Password secret is empty or missing!"
|
||||
exit 1
|
||||
else
|
||||
echo "Password is set"
|
||||
fi
|
||||
|
||||
if [ -z "$CERT_P12_BASE64" ]; then
|
||||
echo "P12 secret is empty or missing!"
|
||||
exit 1
|
||||
else
|
||||
echo "P12 is set"
|
||||
fi
|
||||
|
||||
- name: Import macOS certificate
|
||||
env:
|
||||
CERT_P12_BASE64: ${{ secrets.MAC_CERTIFICATE_P12 }}
|
||||
|
Loading…
Reference in New Issue
Block a user