mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
CI: Only codesign when not PR
This commit is contained in:
parent
f76de69b34
commit
b3a5c55bef
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -367,6 +367,7 @@ jobs:
|
|||||||
path: ${{ github.workspace }}/obs-studio
|
path: ${{ github.workspace }}/obs-studio
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: 'Install Prerequisite: Binary Signing Certificate'
|
- name: 'Install Prerequisite: Binary Signing Certificate'
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
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 }}
|
||||||
@ -374,6 +375,7 @@ jobs:
|
|||||||
create-keychain: true
|
create-keychain: true
|
||||||
keychain-password: ${{ secrets.MACOS_TEMP_CI_KEYCHAIN_PASSWORD }}
|
keychain-password: ${{ secrets.MACOS_TEMP_CI_KEYCHAIN_PASSWORD }}
|
||||||
- name: 'Install Prerequisite: Installer Signing Certificate'
|
- name: 'Install Prerequisite: Installer Signing Certificate'
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
uses: apple-actions/import-codesign-certs@v1
|
uses: apple-actions/import-codesign-certs@v1
|
||||||
with:
|
with:
|
||||||
p12-file-base64: ${{ secrets.MACOS_INSTALLER_CERT }}
|
p12-file-base64: ${{ secrets.MACOS_INSTALLER_CERT }}
|
||||||
@ -492,6 +494,7 @@ jobs:
|
|||||||
@executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg \
|
@executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg \
|
||||||
./obs-websocket.so
|
./obs-websocket.so
|
||||||
- name: 'Sign plugin binary'
|
- name: 'Sign plugin binary'
|
||||||
|
if: github.event_name != 'pull_request'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ github.workspace }}/obs-websocket/build
|
working-directory: ${{ github.workspace }}/obs-websocket/build
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user