Skip to content

Commit

Permalink
GHA: fix multi-item loggin in 890802e
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jul 22, 2024
1 parent 890802e commit 16fbf3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-ota-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
VERSION=$(sed -n -e 's/.*POEDIT_VERSION.* "\([0-9]*\)\.\([0-9]*\).*".*/\1.\2/p' src/version.h)
echo "OTA version: $VERSION"
curl --fail-with-body -F '[email protected]' -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{secrets.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" | tee response
modified=$(jq -r '.modified[]' < response)
modified=$(echo `jq -r '.modified[]' < response`)
if [ -n "$modified" ] ; then
echo "::notice title=Translations updated::Updated translation files: $modified"
else
Expand Down

0 comments on commit 16fbf3a

Please sign in to comment.