File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11name : Build Mac Bundle
22
33on :
4+ workflow_dispatch : {}
45 push :
56 branches :
67 - master
8283 path : target/artifacts
8384
8485 - name : Sign and Notarize Mac Bundle Preparation
86+ if : github.ref == 'refs/heads/master'
8587 env :
8688 APPLE_CERT_BASE64 : ${{ secrets.APPLE_CERT_BASE64 }}
8789 APPLE_CERT_PASSWORD : ${{ secrets.APPLE_CERT_PASSWORD }}
@@ -115,6 +117,7 @@ jobs:
115117 EOF
116118
117119 - name : Sign and Notarize Mac Bundle
120+ if : github.ref == 'refs/heads/master'
118121 env :
119122 APPLE_EMAIL : ${{ secrets.APPLE_EMAIL }}
120123 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
@@ -147,6 +150,7 @@ jobs:
147150 spctl -a -vv "$APP_PATH"
148151
149152 - name : Upload Mac Bundle Signed
153+ if : github.ref == 'refs/heads/master'
150154 uses : actions/upload-artifact@v4
151155 with :
152156 name : graphite-mac-bundle-signed
Original file line number Diff line number Diff line change 11name : Build Windows Bundle
22
33on :
4+ workflow_dispatch : {}
45 push :
56 branches :
67 - master
8788 path : target/artifacts
8889
8990 - name : Azure login
91+ if : github.ref == 'refs/heads/master'
9092 uses : azure/login@v1
9193 with :
9294 client-id : ${{ secrets.AZURE_CLIENT_ID }}
9597 enable-AzPSSession : true
9698
9799 - name : Sign
100+ if : github.ref == 'refs/heads/master'
98101 uses : azure/artifact-signing-action@v1
99102 with :
100103 endpoint : https://eus.codesigning.azure.net/
@@ -115,6 +118,7 @@ jobs:
115118 correlation-id : ${{ github.sha }}
116119
117120 - name : Verify Signatures
121+ if : github.ref == 'refs/heads/master'
118122 shell : pwsh
119123 run : |
120124 $ErrorActionPreference = "Stop"
@@ -161,6 +165,7 @@ jobs:
161165 }
162166
163167 - name : Upload Windows Bundle Signed
168+ if : github.ref == 'refs/heads/master'
164169 uses : actions/upload-artifact@v4
165170 with :
166171 name : graphite-windows-bundle-signed
You can’t perform that action at this time.
0 commit comments