diff --git a/.github/workflows/build-ota-updates.yml b/.github/workflows/build-ota-updates.yml index eacd6c1c36..e2bfb77c4b 100644 --- a/.github/workflows/build-ota-updates.yml +++ b/.github/workflows/build-ota-updates.yml @@ -61,7 +61,9 @@ jobs: run: | 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 'data=@ota-update.tar' -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{secrets.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" | tee response + echo curl --fail-with-body -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{secrets.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" + curl --fail-with-body -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{secrets.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >response + cat response modified=$(echo `jq -r '.modified[]' < response`) if [ -n "$modified" ] ; then echo "::notice title=Translations updated::Updated translation files: $modified"