Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snail2sky authored Oct 24, 2024
1 parent f75a885 commit 108c9bb
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,26 @@ jobs:
run: |
ls -a; tree
# - name: Create GitHub Release
# uses: softprops/action-gh-release@v1
# with:
# # tag_name: v1.0.5
# files: |
# bbx-${{ matrix.arch }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 使用 GitHub 的令牌发布 Release
with:
# tag_name: v1.0.5
tag_name: ${{ github.ref }} # 使用推送的标签作为版本
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
files: |
bbx-${{ matrix.arch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
needs: build
Expand Down

0 comments on commit 108c9bb

Please sign in to comment.