-
Notifications
You must be signed in to change notification settings - Fork 756
44 lines (42 loc) · 1.1 KB
/
build.yml
File metadata and controls
44 lines (42 loc) · 1.1 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
name: Build
# Called from ci
on:
workflow_call:
jobs:
build:
name: Build
strategy:
fail-fast: false
matrix:
os:
- macos-15-intel
- ubuntu-latest
- windows-latest
arch:
- x64
include:
- os: macos-latest
arch: arm64
- os: ubuntu-24.04-arm
arch: armv7l
runs-on: '${{ matrix.os }}'
steps:
- run: git config --global core.autocrlf input
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable
- run: yarn run contributors
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn run electron-releases
# Artifacts generated are unsigned
- name: Run Forge makers
run: yarn run make