Skip to content

Commit 68eaf4d

Browse files
authored
chore: update build-dev.yml
1 parent 57b74e4 commit 68eaf4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-dev.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
3939
xcrun --find notarytool
4040
41+
- name: Enable code signing only for current repo
42+
if: github.event.pull_request.head.repo.full_name == github.repository
43+
run: echo "CSC_FOR_PULL_REQUEST=true" >> $GITHUB_ENV
44+
4145
- name: Build/release Electron app
4246
uses: samuelmeuli/action-electron-builder@v1
4347
with:
@@ -59,7 +63,6 @@ jobs:
5963
# macOS signing env
6064
APPLE_TEAM_ID: 8D66VDADVH
6165
DEBUG: electron-notarize*
62-
CSC_FOR_PULL_REQUEST: true
6366

6467
- name: Upload artifacts for Linux
6568
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)