Merge pull request #41 from Gahara-Editor/feat/autosave-on-view-switch #6
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 | |
- "*" | |
permissions: | |
contents: write | |
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: "Gahara" | |
platform: "darwin/universal" | |
os: "macos-latest" | |
runs-on: ${{ matrix.build.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Download FFmpeg for macOS | |
if: matrix.build.platform == 'darwin/universal' | |
run: | | |
chmod +x hack/setup.sh | |
./hack/setup.sh ${{matrix.build.platform}} | |
- name: Build wails | |
uses: dAppServer/[email protected] | |
id: build | |
with: | |
build-name: ${{ matrix.build.name }} | |
build-platform: ${{ matrix.build.platform }} | |
go-version: "1.22" |