File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed
Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 3636 - name : Install dependencies
3737 run : npm install
3838
39- - name : Build and sign .app with Tauri
39+ - name : Build .app with Tauri
4040 run : npm run tauri build -- --bundles app --target universal-apple-darwin
41- env :
42- APPLE_SIGNING_IDENTITY : ${{ secrets.APPLE_SIGNING_IDENTITY }}
4341
4442 - name : Embed provisioning profile
4543 run : |
4846 2>/dev/null | head -n 1)
4947 cp "$PROFILE" "$APP_PATH/Contents/embedded.provisionprofile"
5048
49+ - name : Sign app
50+ run : |
51+ codesign --force --deep \
52+ --sign "${{ secrets.APPLE_SIGNING_IDENTITY }}" \
53+ --entitlements src-tauri/Entitlements.plist \
54+ "$APP_PATH"
55+
5156 - name : Build signed .pkg installer
5257 run : |
5358 xcrun productbuild \
Original file line number Diff line number Diff line change 4040 NEXT_PUBLIC_API_URL=https://scriptio.app
4141 NEXT_PUBLIC_COMMIT_SHA=${{ env.COMMIT_SHA }}
4242 NEXT_PUBLIC_APP_VERSION=${{ env.APP_VERSION }}
43- cache-from : type=gha
44- cache-to : type=gha,mode=max
43+ cache-from : type=gha,scope=prod
44+ cache-to : type=gha,mode=max,scope=prod
4545
4646 deploy :
4747 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 4040 NEXT_PUBLIC_API_URL=https://staging.scriptio.app
4141 NEXT_PUBLIC_COMMIT_SHA=${{ env.COMMIT_SHA }}
4242 NEXT_PUBLIC_APP_VERSION=${{ env.APP_VERSION }}
43- cache-from : type=gha
44- cache-to : type=gha,mode=max
43+ cache-from : type=gha,scope=staging
44+ cache-to : type=gha,mode=max,scope=staging
4545
4646 deploy :
4747 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 33 "bundle" : {
44 "category" : " Productivity" ,
55 "macOS" : {
6- "entitlements" : " ./Entitlements.plist" ,
7- "signing" : {
8- "entitlements" : " ./Entitlements.plist"
9- }
6+ "entitlements" : " ./Entitlements.plist"
107 }
118 }
129}
You can’t perform that action at this time.
0 commit comments