From 75e19465af84cbdfe8508ef7b9fee2bfe70f6f66 Mon Sep 17 00:00:00 2001 From: rikukiix Date: Tue, 4 Oct 2022 14:29:57 +0800 Subject: [PATCH] fix build.yml --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 066733e..ad16f5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,8 +2,8 @@ name: Build & Release on: push: - branches: ['main', 'master'] - workflow_dispatch: + tags: + - 'v*.*.*' jobs: build: @@ -41,3 +41,11 @@ jobs: dist/*.exe dist/*.dmg dist/*.deb + + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: | + dist/*.exe + dist/*.dmg + dist/*.deb