Skip to content

Commit a352216

Browse files
committed
Only notarize tagged releases
1 parent c2fe127 commit a352216

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
ditto -c -k --sequesterRsrc --keepParent "$APP_PATH" "$PWD/build/QuickLookStep.zip"
5050
5151
- name: Notarize
52-
if: github.event_name != 'pull_request'
52+
if: startsWith(github.ref, 'refs/tags/release/v')
5353
env:
5454
APPSTORE_CONNECT_API_KEY_ID: ${{ secrets.APPSTORE_CONNECT_API_KEY_ID }}
5555
APPSTORE_CONNECT_API_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_API_ISSUER_ID }}
@@ -64,7 +64,7 @@ jobs:
6464
--wait
6565
6666
- name: Staple
67-
if: github.event_name != 'pull_request'
67+
if: startsWith(github.ref, 'refs/tags/release/v')
6868
run: |
6969
APP_PATH="$PWD/build/QuickLookStep.xcarchive/Products/Applications/QuickLookStep.app"
7070
xcrun stapler staple "$APP_PATH"

0 commit comments

Comments
 (0)