aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-03-11 09:49:27 +0800
committerLi Jin <dragon-fly@qq.com>2021-03-11 09:49:27 +0800
commit742e7d560416dcb75ff88dfd9c3c49ea50d88147 (patch)
treef252ff729850480486ed7cff64007b7b9a86e082
parentb359d1a69e9c2db09444264a8d9d874e156fd14b (diff)
parent3070485dbc383742e463feac383d38a79a8bc7cc (diff)
downloadyuescript-742e7d560416dcb75ff88dfd9c3c49ea50d88147.tar.gz
yuescript-742e7d560416dcb75ff88dfd9c3c49ea50d88147.tar.bz2
yuescript-742e7d560416dcb75ff88dfd9c3c49ea50d88147.zip
Merge branch 'main' of github.com:pigpigyyy/Yuescript into main
* 'main' of github.com:pigpigyyy/Yuescript: Update 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 }}