Skip to content

Update README.md

Update README.md #378

Workflow file for this run

name: Build Desktop Application
on:
push:
branches:
- master
- "buildtest/**"
jobs:
build:
if: "contains(github.event.head_commit.message, 'chore(release)') || contains(github.ref, 'buildtest')"
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Install with long network timeout
run: |
yarn install --network-timeout 1000000
- name: Prepare for app notarization
if: startsWith(matrix.os, 'macos')
# Import Apple API key for app notarization on macOS
run: |
mkdir -p ~/private_keys/
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
# Helpful reference https://github.com/samuelmeuli/mini-diary/blob/master/.github/workflows/release.yml
- name: Electron Builder Action
uses: samuelmeuli/action-electron-builder@v1
# if: contains(github.ref, "v0.")
with:
github_token: ${{ secrets.github_token }}
max_attempts: 2
build_script_name: "build:desktop"
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
release: true
env:
# macOS notarization API key
API_KEY_ID: ${{ secrets.api_key_id }}
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}
- name: Upload Artifacts
if: "contains(github.ref, 'buildtest')"
uses: actions/upload-artifact@v2
with:
name: ${{matrix.os}}.dist
path: dist