Skip to content

up

up #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest # เปลี่ยนจาก windows-latest เป็น ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
- name: Install Wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: Build
run: wails build
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: build/bin/* # ปรับ path ตาม output ของ wails
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}