Skip to content

Commit

Permalink
fix(ci): skip signing on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Dec 5, 2022
1 parent db2c2aa commit 94fc616
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ jobs:
uses: dawidd6/action-get-tag@12319896edaa290b27558e34a177804e9b8d077b # v1
continue-on-error: true # empty steps.tag.outputs.tag will inform the next step

- name: Disable macOS signing if pull_request
if: github.event_name == 'pull_request' && runner.os == 'macOS'
run: export CSC_IDENTITY_AUTO_DISCOVERY=false
shell: bash

- name: Build binaries with electron-builder
uses: samuelmeuli/action-electron-builder@92327c67bc45ff7c38bf55d8aa8c4d75b7ea38e7 # v1.6.0 but safer than a tag that can be changed
with:
Expand Down

0 comments on commit 94fc616

Please sign in to comment.