From 7be9499824e2252ca944381ed6c3bf4eeddf414c Mon Sep 17 00:00:00 2001 From: Wonsup Yoon Date: Wed, 23 Nov 2022 16:25:57 +0900 Subject: [PATCH] Release Action --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dab798c..ce33548 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,8 @@ name: Build on: push: branches: [ "master" ] + tags: + - "release-*" pull_request: branches: [ "master" ] jobs: @@ -27,4 +29,9 @@ jobs: - name: Upload a Build Artifact uses: actions/upload-artifact@v3 with: - path: src/mecab-ko-msvc-${{ matrix.arch }}.zip \ No newline at end of file + path: src/mecab-ko-msvc-${{ matrix.arch }}.zip + - name: Release Artifact + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: src/mecab-ko-msvc-${{ matrix.arch }}.zip \ No newline at end of file