-
Notifications
You must be signed in to change notification settings - Fork 312
43 lines (36 loc) · 1.22 KB
/
release_mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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