Skip to content

refactor: streamline release workflow by consolidating build jobs and… #26

refactor: streamline release workflow by consolidating build jobs and…

refactor: streamline release workflow by consolidating build jobs and… #26

Workflow file for this run

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: 'YaGUI'
platform: 'linux/amd64'
os: 'ubuntu-22.04'
- name: 'YaGUI'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'YaGUI'
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@main
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: false
go-version: '1.23'
# Upload build artifacts
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build.name }}-${{ matrix.build.os }}
path: |
build/bin/*.app
build/bin/*.exe
build/bin/*