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 1/3] 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 From b656c80458b6e44d74cd6090b149d43659303df3 Mon Sep 17 00:00:00 2001 From: snail <49757958+snail2sky@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:56:30 +0800 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 144d87b..df267a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,8 @@ jobs: title: test release workdir: ./output tag: v1.0.10 + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # - name: Release # uses: softprops/action-gh-release@v1 From c7d29de575635a6926717633dee9bf40d429dde1 Mon Sep 17 00:00:00 2001 From: snail <49757958+snail2sky@users.noreply.github.com> Date: Thu, 24 Oct 2024 14:11:41 +0800 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df267a6..1358165 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,14 +50,10 @@ jobs: # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Github Release - uses: elgohr/Github-Release-Action@v5 - with: - title: test release - workdir: ./output - tag: v1.0.10 + - name: Generate release notes + uses: raulanatol/github-actions-releaser@main env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # - name: Release # uses: softprops/action-gh-release@v1