Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
wyt1215819315 committed Dec 15, 2023
1 parent 2a8fb73 commit 06a4677
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,21 @@ jobs:
- run: zip -r build/auto_plan_windows_x64.zip build/Windows_x64/
- run: zip -r build/autoplan_front.zip autoplan-front/dist/
- run: cp target/auto_plan.jar build
- run: cp docs/application-example.yml build

- name: 获取 Maven pom.xml中 version版本环境变量
run: echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV

# 上传文件并发布 Release
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
repo_token: "${{ secrets.RESPONSITY_TOKEN }}"
automatic_release_tag: "${{ env.RELEASE_VERSION }}"
prerelease: false
title: "Release ${{ env.RELEASE_VERSION }}"
files:
files: |
build/auto_plan*
build/application-example.yml
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down

0 comments on commit 06a4677

Please sign in to comment.