-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.15 KB
/
main.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
44
45
46
47
name: Build/release
on:
push:
branches:
- 'main'
- 'master'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Install Setuptools for Python
if: matrix.os == 'macos-latest'
run: pip3 install setuptools --break-system-packages
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 8.6.3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: cd electron && pnpm install --frozen-lockfile
- name: Build and Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CSC_LINK: ${{ secrets.APPLE_SIGNING_CERT }}
# API_KEY: ${{ secrets.APPLE_API_KEY }}
# APPLE_API_KEY: apple.p8
# APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
# APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
run: cd electron && npm run publish