新增版本显示, 多线程抢课时新增警告 #29
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: | |
permissions: | |
contents: write | |
packages: write | |
strategy: | |
# Failure in one platform build won't impact the others | |
fail-fast: false | |
matrix: | |
build: | |
- name: 'linux-amd64' | |
platform: 'linux/amd64' | |
os: 'ubuntu-latest' | |
- name: 'linux-arm64' | |
platform: 'linux/arm64' | |
os: 'ubuntu-latest' | |
- name: 'windows-amd64' | |
platform: 'windows/amd64' | |
os: 'windows-latest' | |
- name: 'macos-amd64' | |
platform: 'darwin/amd64' | |
os: 'macos-latest' | |
- name: 'macos-arm64' | |
platform: 'darwin/arm64' | |
os: 'macos-latest' | |
runs-on: ${{ matrix.build.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 'latest' | |
- name: Build wails | |
uses: dAppServer/wails-build-action@v2.2 | |
id: build | |
with: | |
build-name: ${{ matrix.build.name }} | |
build-platform: ${{ matrix.build.platform }} | |
package: true | |
go-version: '1.22' | |
node-version: '20' |