forked from CatalystDevOrg/Catalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (44 loc) · 1.18 KB
/
build.yml
File metadata and controls
45 lines (44 loc) · 1.18 KB
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
# taken from https://dev.to/abulka/comment/1dh3k thanks!
name: Release Catalyst
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Get tailwind styles
run: npm run tailwind:once
- name: Publish to release using Electron Forge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish
release32bit:
# npm run publish -- --arch=ia32
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Get tailwind styles
run: npm run tailwind:once
- name: Publish to release using Electron Forge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish -- --arch=ia32