From 8c82483ff67c6bb773ab8c925e24d3eb86543d75 Mon Sep 17 00:00:00 2001 From: Paranjay Singh Date: Fri, 18 Oct 2024 17:02:37 +0000 Subject: [PATCH] fix: binary release --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f45332b..9992189 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 @@ -32,15 +34,12 @@ jobs: ./build.sh - name: Create Release - id: create_release - uses: actions/create-release@v1 + uses: elgohr/Github-Release-Action@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v${{ github.run_number }} - release_name: Release ${{ github.run_number }} - draft: false - prerelease: false + title: Release ${{ github.run_number }} + tag: v${{ github.run_number }} - name: Upload Linux Release Asset uses: actions/upload-release-asset@v1