From 7113055218c1b0d83b318e0ef8a4bf143b6a3be7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lepin?= Date: Tue, 1 Feb 2022 10:12:42 +0100 Subject: [PATCH] ci(macos): configure productsign with installer certificate --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8e27ccd..47ebe6e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -366,11 +366,16 @@ jobs: repository: obsproject/obs-studio path: ${{ github.workspace }}/obs-studio submodules: 'recursive' - - name: 'Install Prerequisite: Binary/Installer Signing Certificate' + - name: 'Install Prerequisite: Binary Signing Certificate' uses: apple-actions/import-codesign-certs@v1 with: p12-file-base64: ${{ secrets.MACOS_SIGNING_CERT }} 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' shell: bash working-directory: ${{ github.workspace }}/obs-studio @@ -505,7 +510,7 @@ jobs: working-directory: ${{ github.workspace }}/obs-websocket run: | productsign \ - --sign "${{ secrets.MACOS_SIGNING_IDENTITY }}" \ + --sign "${{ secrets.MACOS_INSTALLER_IDENTITY }}" \ ./release/${{ env.MACOS_FILENAME_UNSIGNED }} \ ./release/${{ env.MACOS_FILENAME }} rm ./release/${{ env.MACOS_FILENAME_UNSIGNED }}