Skip to content

Commit

Permalink
Run arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Mar 25, 2024
1 parent 5a851a6 commit 190d012
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,20 +123,12 @@ jobs:
rm -rf ${{ github.workspace }}/plugins/obs-browser
git submodule update --init --recursive
- name: 'Install MacOS cert and create keychain'
- name: 'Unlock keychain'
run: |
echo -n ${MACOS_SIGNING_CERT} | base64 --decode -o ${CERTIFACTE_PATH}
security create-keychain -p "${KEYCHAIN_PASSWORD}" ${KEYCHAIN_PATH}
security set-keychain-settings -lut 3600 $KEYCHAIN_PATH
security unlock-keychain -p "${KEYCHAIN_PASSWORD}" ${KEYCHAIN_PATH}
security import ${CERTIFACTE_PATH} -P ${MACOS_SIGNING_CERT_PASSWORD} -A -t cert -f pkcs12 -k ${KEYCHAIN_PATH}
security list-keychain -d user -s ${KEYCHAIN_PATH}
security -v unlock-keychain -p ${MACOS_KEYCHAIN_PASSWORD} ${MACOS_KEYCHAIN_PATH} && echo "Keychain is unlocked" || exit 1
env:
MACOS_SIGNING_CERT: ${{ secrets.MACOS_SIGNING_CERT }}
MACOS_SIGNING_CERT_PASSWORD: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}
KEYCHAIN_PATH: ${{ github.workspace }}/app-signing.keychain-db
CERTIFACTE_PATH: ${{ github.workspace }}/app-signing-cert.p12
MACOS_KEYCHAIN_PASSWORD: ${{ secrets.MACOS_KEYCHAIN_PASSWORD }}
MACOS_KEYCHAIN_PATH: /Users/dolbyvoice/Library/Keychains/cosmosoftware.keychain-db

# Geneate OBS without obs-ndi plugin
- name: 'Build OBS - no NDI'
Expand Down

0 comments on commit 190d012

Please sign in to comment.