From 9bfd0bc7c31cd7543eb2e8ef85a9264beaadcbec Mon Sep 17 00:00:00 2001 From: Walt Chen Date: Sun, 5 Jan 2025 18:23:01 -0500 Subject: [PATCH] Fix release.yml --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8c3a0b..544b12f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Build and Release Binaries +permissions: + contents: write # Add write permission to contents for release assets + on: release: types: [created] @@ -46,5 +49,5 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: bin/beanstalk-cli.${{ matrix.arch }}.${{ matrix.os }}${{ matrix.extension }} asset_name: | - beanstalk-cli.${{ matrix.os }}.${{ matrix.arch }}${{ matrix.extension }} + beanstalk-cli.${{ matrix.arch }}.${{ matrix.os }}${{ matrix.extension }} asset_content_type: application/octet-stream