Skip to content

Commit

Permalink
update maven.yml to auto build and release to GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHubNull committed Jun 11, 2023
1 parent e945404 commit 891c9e3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ jobs:
- name: staging
run: mkdir staging && cp target/*full.jar staging

# 第三步:发布 Release
- name: Create Release
id: create_release
uses: actions/create-release@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }} # 之前GitHub添加的Token
with:
tag_name: ${{ github.ref }} # (tag)标签名称
release_name: Release ${{ github.ref }}
draft: false # 是否是草稿
prerelease: true # 是否是预发布

# 第四步: 设置 jobs Maven pom 版本环境变量
- name: Set Release version env variable
run: |
Expand Down

0 comments on commit 891c9e3

Please sign in to comment.