From f9e2c18f7121c0cb85d3ec0ca9c431e49533db4e Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Sat, 22 Jun 2024 00:18:29 +0300 Subject: [PATCH] Use gh tool to upload artifacts Signed-off-by: galal-hussein --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9980d73..002159b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,9 @@ on: tags: - "v*" +env: + GH_TOKEN: ${{ github.token }} + name: Release permissions: contents: write @@ -21,10 +24,6 @@ jobs: CROSS: "true" - name: release binaries - uses: softprops/action-gh-release@v2 - with: - files: | - dist/artifacts/* - - + run: | + gh release upload ${{ github.ref_name }} dist/artifacts/* \ No newline at end of file