Refactor macOS alpha build workflow: Update artifact naming and signing

This commit is contained in:
mauro-balades
2024-09-08 18:08:27 +02:00
parent 7c68779e98
commit 977a2a81dd
3 changed files with 8 additions and 7 deletions

View File

@@ -148,7 +148,6 @@ jobs:
- name: Rename artifacts
run: |
mv ./dist/*.dmg "zen.macos-${{ matrix.arch }}.dmg"
mv ./dist/output.mar macos-${{ matrix.arch }}.mar
rm -rf certificate.p12
@@ -156,12 +155,14 @@ jobs:
- name: Sign to .dmg
run: |
hdiutil convert ./dist/*.dmg -format UDZO -imagekey zlib-level=9 -o zen.macos-${{ matrix.arch }}.dmg
codesign -s "${{ secrets.macOS_AppleDeveloperId }}" zen.macos-${{ matrix.arch }}.dmg
xcrun notarytool submit "zen.macos-${{ matrix.arch }}.dmg" \
--apple-id "${{ secrets.macOS_AppleAccountId }}" \
--team-id "${{ secrets.macOS_AppleDeveloperIdTeamId }}" \
--password "${{ secrets.macOS_AppleDeveloperIdPassword }}" \
--wait
xcrun stapler staple "zen.macos-${{ matrix.arch }}.dmg"
- name: Upload artifact
uses: actions/upload-artifact@v4

View File

@@ -33,7 +33,7 @@
},
"homepage": "https://github.com/zen-browser/core#readme",
"dependencies": {
"@zen-browser/surfer": "^1.3.15"
"@zen-browser/surfer": "^1.3.16"
},
"devDependencies": {
"husky": "^9.1.5",

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@zen-browser/surfer':
specifier: ^1.3.15
version: 1.3.15
specifier: ^1.3.16
version: 1.3.16
devDependencies:
husky:
specifier: ^9.1.5
@@ -119,8 +119,8 @@ packages:
'@types/node@17.0.45':
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
'@zen-browser/surfer@1.3.15':
resolution: {integrity: sha512-Nq4xoCppMD51b/M7gdrVAN58WpoXEJsh068EsCVzgMr1MMZVc/bI+yMCbXp4SLqXhKN5qLqwVCpRY74daLzaqQ==}
'@zen-browser/surfer@1.3.16':
resolution: {integrity: sha512-Udta+G2Mg4V5/Sow5fgnNFfs8txcDfAVfjhKBHelxKtdFytyTq57uqLH7AGCVFoUnNiY1EcU0DPVNK+o5E8WDw==}
hasBin: true
ansi-escapes@7.0.0:
@@ -1003,7 +1003,7 @@ snapshots:
'@types/node@17.0.45': {}
'@zen-browser/surfer@1.3.15':
'@zen-browser/surfer@1.3.16':
dependencies:
'@resvg/resvg-js': 1.4.0
async-icns: 1.0.2