Skip to content

Workflow file for this run

name: Build and Release macOS
on:
push:
tags:
- 'v*'
jobs:
build_macos:
runs-on: macos-latest
env:
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
DEBUG: ${{ secrets.DEBUG }}
MAIN_VITE_SENTRY_DSN: ${{ secrets.MAIN_VITE_SENTRY_DSN }}
RENDERER_VITE_SENTRY_DSN: ${{ secrets.RENDERER_VITE_SENTRY_DSN }}
NODE_OPTIONS: ${{ secrets.NODE_OPTIONS }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.19.1'
cache: 'yarn'
- name: Install dependencies
run: brew install python-setuptools
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 1500000
- name: Install dependencies
run: yarn add node-pre-gyp --force
- name: Build macOS app
run: yarn release:mac