Skip to content

Commit

Permalink
Add release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PenguinCabinet committed Sep 27, 2024
1 parent 9238527 commit 16e0ce1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
workflow_dispatch:
push:

name: Release
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.6'
- name: Install wails
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: wails build
run: wails build -platform windows/amd64
- name: cp README.md
run: cp README.md build/bin
- name: Make zip file
run: zip -r nikki-book-windows.zip build/bin
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: nikki-book-windows.zip

0 comments on commit 16e0ce1

Please sign in to comment.