-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 1019 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Wails build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
build:
[
{ name: Zroker, platform: linux/amd64, os: ubuntu-latest },
{ name: Zroker, platform: windows/amd64, os: windows-latest },
{ name: Zroker, platform: darwin/universal, os: macos-latest },
]
runs-on: ${{ matrix.build.os }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm install
- uses: dAppServer/[email protected]
with:
package: false
node-version: 20
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
- name: Release
uses: softprops/action-gh-release@v2
with:
files: build/bin/*