Skip to content

Commit

Permalink
[github actions] release assets upload fix (betaflight#13462)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Mar 21, 2024
1 parent 2a6ae06 commit 7e07590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
set -x
ASSETS=()
for asset in Assets/*.hex; do
ASSETS+=("-a" "$asset")
ASSETS+=("$asset")
echo "$asset"
done
TAG_NAME="${GITHUB_REF##*/}"
gh release edit "${ASSETS[@]}" "${TAG_NAME}"
gh release upload "${TAG_NAME}" "${ASSETS[@]}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7e07590

Please sign in to comment.