From 5d2adef6060dbdc6620e99fbac787aecbe396f0f Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 4 Feb 2023 00:54:55 +0800 Subject: update ci --- .github/workflows/macos.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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/upload-release-asset@v1.0.1 -- cgit v1.3.1