Skip to content

update ci

update ci #2

name: Wails build
on:
push:
tags:
- 'v*.*.*'
env:
# Necessary for most environments as build failure can occur due to OOM issues
NODE_OPTIONS: "--max-old-space-size=4096"
permissions:
contents: write
jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
- name: 'moss-ui'
platform: 'linux/amd64'
os: 'ubuntu-latest'
- name: 'moss-ui'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'moss-ui'
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/[email protected]
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: true
go-version: '1.23'
node-version: '20.x'
nsis: false