summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-01-26 21:02:19 +0800
committerruki <[email protected]>2022-01-26 21:02:19 +0800
commit7d41ecf4d155ac52f1f26a13f99bf57ba8c328d9 (patch)
treed918707b45b43925e29c8503c4a1c8aaed0a5ae9
parent286772431f121a0509175689a82b19bd96cd528a (diff)
improve ci
-rw-r--r--.github/workflows/macos.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index fbdb5f9ff..4d76e2e4e 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -63,6 +63,11 @@ jobs:
name: xmake-latest.zip
path: artifacts/xmake.zip
+ # upload artifacts to latest release
+ - name: Get Previous tag
+ id: previoustag
+ uses: WyriHaximus/github-action-get-previous-tag@master
+
- name: Upload artifacts to lastest release
if: github.ref == 'refs/heads/master'
uses: svenstaro/upload-release-action@v2