From 3070485dbc383742e463feac383d38a79a8bc7cc Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 11 Mar 2021 09:30:11 +0800 Subject: Update macos.yml --- .github/workflows/macos.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cb5adb7..669b033 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -3,6 +3,7 @@ name: macOS on: push: branches: [ main ] + tags: 'v*.*.*' pull_request: branches: [ main ] workflow_dispatch: @@ -15,3 +16,11 @@ jobs: - uses: actions/checkout@v1 - name: build-test run: make test + - name: release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + ./bin/release/yue + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3-55-g6feb