Skip to content

Commit

Permalink
Fix release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
PenguinCabinet committed Sep 27, 2024
1 parent 9260181 commit 2a631a8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
push:
tags:
- '*'

name: Release
jobs:
test:
Release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,10 +20,14 @@ jobs:
run: wails build -platform windows/amd64
- name: cp README.md
run: cp README.md build/bin
- name: Rename build/bin
working-directory: build
run: mv bin nikki-book
- name: Make zip file
run: zip -r nikki-book-windows.zip build/bin
working-directory: build
run: zip -r nikki-book-windows.zip nikki-book
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: nikki-book-windows.zip
files: build/nikki-book-windows.zip

0 comments on commit 2a631a8

Please sign in to comment.