From b47c7c8cc4119b3ffa6c4244d9bad4c037bfdb08 Mon Sep 17 00:00:00 2001 From: snail <49757958+snail2sky@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:54:35 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 661115d..144d87b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - name: Run run: | - ls -a; tree + mkdir output; mv bbx-${{ matrix.arch }} output # - name: Create GitHub Release # uses: softprops/action-gh-release@v1 @@ -50,13 +50,20 @@ jobs: # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Release - uses: softprops/action-gh-release@v1 + - name: Github Release + uses: elgohr/Github-Release-Action@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} - tag_name: ${{ github.ref }} - files: | - ./bbx-${{ matrix.arch }} + title: test release + workdir: ./output + tag: v1.0.10 + + # - name: Release + # uses: softprops/action-gh-release@v1 + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # tag_name: ${{ github.ref }} + # files: | + # ./bbx-${{ matrix.arch }} release: needs: build