1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

[github actions] release assets upload fix (#13462)

This commit is contained in:
nerdCopter 2024-03-21 17:57:55 -05:00 committed by GitHub
parent 2a6ae06e84
commit 7e0759076f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}