mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
chore: Update codesigning script to sign the .app bundle with Apple Developer ID certificate
This commit is contained in:
6
.github/workflows/macos-alpha-build.yml
vendored
6
.github/workflows/macos-alpha-build.yml
vendored
@@ -134,6 +134,11 @@ jobs:
|
||||
env:
|
||||
P12_BASE64: ${{ secrets.macOS_CERTIFICATES_P12_For_App_BASE64 }}
|
||||
|
||||
- name: Install rcodesign
|
||||
run: |
|
||||
cargo install --git https://github.com/indygreg/apple-platform-rs --branch main --bin rcodesign apple-codesign
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
- name: Sign to .app 🖋️
|
||||
run: |
|
||||
ls engine
|
||||
@@ -145,6 +150,7 @@ jobs:
|
||||
-a "./obj-${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin/dist/Zen Browser.app" \
|
||||
-r \
|
||||
--rcodesign-p12-file $GITHUB_WORKSPACE/certificate.p12 \
|
||||
-s ${{ secrets.macOS_AppleDeveloperId }} \
|
||||
--rcodesign-p12-password "${{ secrets.macOS_CERTIFICATES_P12_PASSWORD }}" \
|
||||
-c release \
|
||||
-e production
|
||||
|
Reference in New Issue
Block a user