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 891c9e3 commit 8b98e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: staging
run: mkdir staging && cp target/*full.jar staging

# 第四步: 设置 jobs Maven pom 版本环境变量
# 第三步: 设置 jobs Maven pom 版本环境变量
- name: Set Release version env variable
run: |
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
echo "done!"
# 第五步:上传构建结果到 Release
# 第四步:上传构建结果到 Release
- name: Upload jar release
uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit 8b98e4d

Please sign in to comment.