Skip to content

Commit

Permalink
Use gh tool to upload artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
  • Loading branch information
galal-hussein committed Jun 21, 2024
1 parent 13a8b9c commit f9e2c18
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
tags:
- "v*"

env:
GH_TOKEN: ${{ github.token }}

name: Release
permissions:
contents: write
Expand All @@ -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/*

0 comments on commit f9e2c18

Please sign in to comment.