Only Attempt Signing on Pushes (#1299)

This commit is contained in:
KazWolfe 2023-07-05 13:58:45 -07:00 committed by GitHub
parent c93d7f16ed
commit 69137532ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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