Skip to content

Commit 132e2fe

Browse files
committed
Add notorization
1 parent e32bf3a commit 132e2fe

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/trivir.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,20 +335,28 @@ jobs:
335335
run: "codesign -f -s 'Developer ID Application' --timestamp --deep frodo"
336336
# run: "codesign -f -s 'Developer ID Application: Volker Scheuber (AV6L99G8W9)' --timestamp --deep frodo"
337337

338-
#
339-
# Zip up the app and add it to the GitHub Release as a
340-
# downloadable asset.
341-
#
338+
- name: Install gon via HomeBrew for code signing and app notarization
339+
run: |
340+
brew tap mitchellh/gon
341+
brew install mitchellh/gon/gon
342342
343343
- name: Package for Distribution
344344
run: ditto -V -c -k "frodo" "frodo-macos-${{ needs.build.outputs.newVersion }}.zip"
345345

346+
- name: Notorize
347+
env:
348+
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
349+
run: |
350+
echo "{\"notarize\": [{\"path\": \"frodo-macos-${{ needs.build.outputs.newVersion }}.zip\", \"bundle_id\": \"com.trivir.frodo.frodo\"}], \"apple_id\": {\"username\": \"[email protected]\", \"password\": \"@env:AC_PASSWORD\"}}" > gon.json
351+
gon -log-level=debug -log-json gon.json
352+
346353
- uses: actions/upload-artifact@v3
347354
with:
348355
name: dist
349356
path: frodo-macos-${{ needs.build.outputs.newVersion }}.zip
350357

351358
linux-binary-release:
359+
if: false
352360
needs: [build, smoke-tests]
353361
runs-on: ubuntu-latest
354362
steps:
@@ -422,6 +430,7 @@ jobs:
422430
path: frodo-linux-arm64-${{ needs.build.outputs.newVersion }}.zip
423431

424432
windows-binary-release:
433+
if: false
425434
needs: [build, smoke-tests]
426435
runs-on: windows-latest
427436
steps:

0 commit comments

Comments
 (0)