Skip to content

style: tsconfig

style: tsconfig #59

Workflow file for this run

name: Publish
on:
push:
branches: ["main"]
paths:
- "packages/**"
- "apps/**"
- ".github/workflows/publish.yml"
jobs:
publish:
name: Build and Publish (${{ matrix.os }} - ${{ matrix.arch }})
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
matrix:
# Build for supported platforms
# https://github.com/electron/electron-packager/blob/ebcbd439ff3e0f6f92fa880ff28a8670a9bcf2ab/src/targets.js#L9
# 32-bit Linux unsupported as of 2019: https://www.electronjs.org/blog/linux-32bit-support
os: [ macOS-latest, ubuntu-latest ]
arch: [ x64 ]
include:
- os: macOS-latest
arch: arm64
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-repo
- name: Build
run: pnpm run build
# - name: Set MacOS signing certs
# if: matrix.os == 'macOS-latest'
# run: chmod +x tools/add-macos-cert.sh && ./tools/add-macos-cert.sh
# env:
# MACOS_CERT_P12: ${{ secrets.MACOS_CERT_P12 }}
# MACOS_CERT_PASSWORD: ${{ secrets.MACOS_CERT_PASSWORD }}
- run: pnpm run publish --arch=${{ matrix.arch }}
working-directory: ./apps/electron-client
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CSC_NAME: ${{ secrets.CSC_NAME }}