Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 authored Mar 1, 2024
1 parent fab2867 commit b012aed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
id: create_release
uses: actions/create-release@v1
with:
token: ${{ secrets.MY_TOKEN }}
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
draft: false
prerelease: false
env:
MY_TOKEN: ${{ secrets.MY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload release asset
Expand All @@ -43,7 +45,6 @@ jobs:
asset_name: aooserver # 替换成你的文件名称
asset_content_type: application/octet-stream # 替换成你的文件类型
env:
MY_TOKEN: ${{ secrets.MY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Artifact
Expand Down

0 comments on commit b012aed

Please sign in to comment.