From c083ad202e66280371fbd9f8758e65105c740d38 Mon Sep 17 00:00:00 2001 From: oldwu <2676831402@qq.com> Date: Fri, 15 Dec 2023 11:14:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=20github=20action=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push-release.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push-release.yml b/.github/workflows/push-release.yml index 4ce2e06..947764f 100644 --- a/.github/workflows/push-release.yml +++ b/.github/workflows/push-release.yml @@ -9,17 +9,13 @@ on: tags: - v* -permissions: - contents: write - discussions: write - jobs: build: runs-on: ubuntu-latest permissions: - contents: read - packages: write + contents: write + discussions: write steps: - uses: actions/checkout@v4 @@ -105,6 +101,8 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: + name: "Release ${{ env.RELEASE_VERSION }}" + tag_name: ${{ env.RELEASE_VERSION }} files: | build/auto_plan_linux_x64.tar.gz build/auto_plan_linux_aarch64.tar.gz