From 0816f4f66066e1343bd6c0e1fd20946e59b0f249 Mon Sep 17 00:00:00 2001 From: akarin Date: Sat, 22 May 2021 02:54:39 -0400 Subject: [PATCH] .github/workflows/build.yaml: create release artifacts Signed-off-by: akarin --- .github/workflows/build.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 90f8031..6a9ffaa 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,8 +1,8 @@ name: fmtconv Build on: - push: - branches: release + release: + types: [created] jobs: build: @@ -47,3 +47,10 @@ jobs: with: name: fmtconv-release path: "build/win/fmtconv-release.zip" + + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: "build/win/fmtconv-release.zip" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}