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:
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
|
set -x
|
||||||
ASSETS=()
|
ASSETS=()
|
||||||
for asset in Assets/*.hex; do
|
for asset in Assets/*.hex; do
|
||||||
ASSETS+=("-a" "$asset")
|
ASSETS+=("$asset")
|
||||||
echo "$asset"
|
echo "$asset"
|
||||||
done
|
done
|
||||||
TAG_NAME="${GITHUB_REF##*/}"
|
TAG_NAME="${GITHUB_REF##*/}"
|
||||||
gh release edit "${ASSETS[@]}" "${TAG_NAME}"
|
gh release upload "${TAG_NAME}" "${ASSETS[@]}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue