-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (44 loc) · 1.25 KB
/
release.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
48
49
name: Wails build
on:
push:
tags:
# Match any new tag
- '*'
env:
# Necessary for most environments as build failure can occur due to OOM issues
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
- name: 'dev-tools-linux-amd64'
platform: 'linux/amd64'
os: 'ubuntu-latest'
- name: 'dev-tools-windows-amd64'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'dev-tools'
platform: 'darwin/universal'
os: 'macos-latest'
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wails
# uses: dAppServer/wails-build-action@v2.2
uses: conkayyan/wails-build-action@v2.9.1
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: true
go-version: '1.21.12'
wails-version: 'v2.9.1'
node-version: '22.5.1'
deb-app: dev-tools
deb-app-name: "Dev Tools"