mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
ci(macos): configure productsign with installer certificate
This commit is contained in:
parent
1844f85e1f
commit
7113055218
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -366,11 +366,16 @@ jobs:
|
|||||||
repository: obsproject/obs-studio
|
repository: obsproject/obs-studio
|
||||||
path: ${{ github.workspace }}/obs-studio
|
path: ${{ github.workspace }}/obs-studio
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: 'Install Prerequisite: Binary/Installer Signing Certificate'
|
- name: 'Install Prerequisite: Binary Signing Certificate'
|
||||||
uses: apple-actions/import-codesign-certs@v1
|
uses: apple-actions/import-codesign-certs@v1
|
||||||
with:
|
with:
|
||||||
p12-file-base64: ${{ secrets.MACOS_SIGNING_CERT }}
|
p12-file-base64: ${{ secrets.MACOS_SIGNING_CERT }}
|
||||||
p12-password: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}
|
p12-password: ${{ secrets.MACOS_SIGNING_CERT_PASSWORD }}
|
||||||
|
- name: 'Install Prerequisite: Installer Signing Certificate'
|
||||||
|
uses: apple-actions/import-codesign-certs@v1
|
||||||
|
with:
|
||||||
|
p12-file-base64: ${{ secrets.MACOS_INSTALLER_CERT }}
|
||||||
|
p12-password: ${{ secrets.MACOS_INSTALLER_CERT_PASSWORD }}
|
||||||
- name: 'Get OBS Studio Git Info'
|
- name: 'Get OBS Studio Git Info'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ github.workspace }}/obs-studio
|
working-directory: ${{ github.workspace }}/obs-studio
|
||||||
@ -505,7 +510,7 @@ jobs:
|
|||||||
working-directory: ${{ github.workspace }}/obs-websocket
|
working-directory: ${{ github.workspace }}/obs-websocket
|
||||||
run: |
|
run: |
|
||||||
productsign \
|
productsign \
|
||||||
--sign "${{ secrets.MACOS_SIGNING_IDENTITY }}" \
|
--sign "${{ secrets.MACOS_INSTALLER_IDENTITY }}" \
|
||||||
./release/${{ env.MACOS_FILENAME_UNSIGNED }} \
|
./release/${{ env.MACOS_FILENAME_UNSIGNED }} \
|
||||||
./release/${{ env.MACOS_FILENAME }}
|
./release/${{ env.MACOS_FILENAME }}
|
||||||
rm ./release/${{ env.MACOS_FILENAME_UNSIGNED }}
|
rm ./release/${{ env.MACOS_FILENAME_UNSIGNED }}
|
||||||
|
Loading…
Reference in New Issue
Block a user