33 lines
789 B
YAML
33 lines
789 B
YAML
name: build-linux
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.24
|
|
- name: install apt dependencies
|
|
run: apt-get update && apt-get install -y mingw-w64 nsis nodejs libgtk-3-dev libwebkit2gtk-4.1-dev
|
|
- name: install pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10
|
|
- name: install wails
|
|
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
|
- name: build
|
|
run: wails build
|
|
- name: Archive bins
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: dist-without-markdown
|
|
path: |
|
|
build/bin
|
|
|
|
|