mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
[github actions] release assets upload fix (#13462)
This commit is contained in:
parent
2a6ae06e84
commit
7e0759076f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-release.yml
vendored
4
.github/workflows/build-release.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue