aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-03-11 09:30:11 +0800
committerGitHub <noreply@github.com>2021-03-11 09:30:11 +0800
commit3070485dbc383742e463feac383d38a79a8bc7cc (patch)
tree532cbd297654cde2efe3f4768bfbc032888e12a5 /.github/workflows/macos.yml
parent3eedd027bddc1ad9099d647e83ae4a83589db191 (diff)
downloadyuescript-3070485dbc383742e463feac383d38a79a8bc7cc.tar.gz
yuescript-3070485dbc383742e463feac383d38a79a8bc7cc.tar.bz2
yuescript-3070485dbc383742e463feac383d38a79a8bc7cc.zip
Update macos.yml
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml9
1 files changed, 9 insertions, 0 deletions
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
3on: 3on:
4 push: 4 push:
5 branches: [ main ] 5 branches: [ main ]
6 tags: 'v*.*.*'
6 pull_request: 7 pull_request:
7 branches: [ main ] 8 branches: [ main ]
8 workflow_dispatch: 9 workflow_dispatch:
@@ -15,3 +16,11 @@ jobs:
15 - uses: actions/checkout@v1 16 - uses: actions/checkout@v1
16 - name: build-test 17 - name: build-test
17 run: make test 18 run: make test
19 - name: release
20 uses: softprops/action-gh-release@v1
21 if: startsWith(github.ref, 'refs/tags/')
22 with:
23 files: |
24 ./bin/release/yue
25 env:
26 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}