2025-09-06 23:32:53 +00:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: macos
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.24
|
|
|
|
- name: Installing Wails
|
|
|
|
run: |
|
|
|
|
go install github.com/wailsapp/wails/v2/cmd/wails@latest
|
|
|
|
- name: Running Wails doctor
|
|
|
|
run: |
|
|
|
|
wails doctor
|
|
|
|
- name: Build
|
|
|
|
run: |
|
2025-09-06 23:37:39 +00:00
|
|
|
npm install
|
2025-09-06 23:57:07 +00:00
|
|
|
wails build -clean -platform darwin/arm64 -o Dequoter.app
|
|
|
|
- name: Bundle
|
|
|
|
run: |
|
|
|
|
cd build/bin/
|
|
|
|
zip -r dequoter-darwin-arm64.zip Dequoter.app
|
2025-09-06 23:32:53 +00:00
|
|
|
- name: Upload build artifacts
|
2025-09-06 23:51:51 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
2025-09-06 23:32:53 +00:00
|
|
|
with:
|
|
|
|
name: dequoter-darwin-arm64
|
2025-09-06 23:57:07 +00:00
|
|
|
path: build/bin/dequoter-darwin-arm64.zip
|