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 7f77c71 commit c083ad2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c083ad2

Please sign in to comment.