diff options
| author | ruki <[email protected]> | 2023-02-04 00:54:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-04 00:54:55 +0800 |
| commit | 5d2adef6060dbdc6620e99fbac787aecbe396f0f (patch) | |
| tree | a7da82df57c74e637c6bce5e1e7bf3e9bfd21131 | |
| parent | 22b7d39fbe2ccf10371af59c8b451dc0f0ec3545 (diff) | |
update ci
| -rw-r--r-- | .github/workflows/macos.yml | 10 |
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] |
