Wails build #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "App" | |
platform: "linux/amd64" | |
os: "ubuntu-latest" | |
- name: "App" | |
platform: "windows/amd64" | |
os: "windows-latest" | |
- name: "App" | |
platform: "darwin/universal" | |
os: "macos-latest" | |
runs-on: ${{ matrix.build.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v1 # Use the official setup-bun action | |
with: | |
bun-version: latest # Or a specific version like '1.0.0' | |
- name: Install dependencies | |
run: cd frontend && bun install | |
#- name: Build | |
# run: cd frontend && bun run build # Or your build command | |
- name: Build wails | |
# uses: ./wails_build.yml | |
# uses: dAppServer/[email protected] | |
uses: stxh/[email protected] | |
id: build | |
with: | |
build-name: ${{ matrix.build.name }} | |
build-platform: ${{ matrix.build.platform }} | |
package: true | |
go-version: "1.23" | |
macos-build-name: "mdPad" |