From b24bad588a4f92566a1480cf1588d882e286abf0 Mon Sep 17 00:00:00 2001 From: Remco Beckers Date: Tue, 4 Feb 2025 12:48:49 +0100 Subject: [PATCH] Create release and upload files using `gh` instead of non-compliant action --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f05911f32cf7..7409ea1ae22a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Go on: push: tags: - - 'RELEASE.*' + - "RELEASE.*" permissions: contents: write @@ -26,8 +26,10 @@ jobs: run: | make crosscompile - name: Release - uses: softprops/action-gh-release@v2 - with: - files: bin/* - draft: true - fail_on_unmatched_files: true \ No newline at end of file + env: + GH_TOKEN: ${{ github.token }} + run: | + gh release create ${{ github.ref_name }} -t ${{ github.ref_name }} -d + echo 'Uploading files in bin/*:' + ls bin/* + gh release upload ${{ github.ref_name }} bin/*