summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-04 00:54:55 +0800
committerruki <[email protected]>2023-02-04 00:54:55 +0800
commit5d2adef6060dbdc6620e99fbac787aecbe396f0f (patch)
treea7da82df57c74e637c6bce5e1e7bf3e9bfd21131 /.github
parent22b7d39fbe2ccf10371af59c8b451dc0f0ec3545 (diff)
update ci
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index d713603ac..5eed6a006 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -80,6 +80,16 @@ jobs:
tag: ${{ steps.previoustag.outputs.tag }}
overwrite: true
+ - name: Upload artifacts to lastest release
+ if: github.ref == 'refs/heads/master'
+ uses: svenstaro/upload-release-action@v2
+ with:
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
+ file: artifacts/xmake.tar.gz
+ asset_name: xmake-master.tar.gz
+ tag: ${{ steps.previoustag.outputs.tag }}
+ overwrite: true
+
- name: Publish package
if: github.event.action == 'published'
uses: actions/[email protected]