chore: Only sign on main repo (#1297)

Disables signing on external workflows/branches.
This commit is contained in:
KazWolfe 2023-06-29 12:51:11 -07:00 committed by GitHub
parent 875ca915b6
commit 7ada7eb4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ jobs:
- name: Test Dalamud
run: .\build.ps1 test
- name: Sign Dalamud
if: ${{ github.repository_owner == 'goatcorp' }}
env:
CODESIGN_CERT_PFX: ${{ secrets.CODESIGN_CERT_PFX }}
CODESIGN_CERT_PASSWORD: ${{ secrets.CODESIGN_CERT_PASSWORD }}