Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous authored Nov 30, 2021
1 parent a78b0fe commit a095076
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,24 @@ jobs:
npm run electron-install
# if: ${{ runner.os == 'Windows' }}
# shell: bash
- name: build acorn
- name: sign and notarize setup (macos only)
if: ${{ runner.os == 'macOs' }}
env:
HBE_APPLE_CERTIFICATE_BASE64: ${{ secrets.HBE_APPLE_CERTIFICATE_BASE64 }}
HBE_APPLE_CERTIFICATE_PASS: ${{ secrets.HBE_APPLE_CERTIFICATE_PASS }}
APPLE_DEV_IDENTITY: ${{ secrets.APPLE_DEV_IDENTITY }}
APPLE_ID_EMAIL: ${{ secrets.APPLE_ID_EMAIL }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
DEBUG: electron-osx-sign*,electron-notarize*
run: |
echo $HBE_APPLE_CERTIFICATE_BASE64 | base64 --decode > certificate.p12
security create-keychain -p arb-password build.keychain security default-keychain -s build.keychain
security unlock-keychain -p arb-password build.keychain
security import certificate.p12 -k build.keychain -P $HBE_APPLE_CERTIFICATE_PASS -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k arb-password build.keychain
- name: build acorn
env:
APPLE_DEV_IDENTITY: ${{ secrets.APPLE_DEV_IDENTITY }}
APPLE_ID_EMAIL: ${{ secrets.APPLE_ID_EMAIL }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
DEBUG: electron-osx-sign*,electron-notarize*
run: |
npm run build
shell: bash
- name: upload binary (ubuntu only)
Expand Down

0 comments on commit a095076

Please sign in to comment.