diff --git a/.github/workflows/build-ota-updates.yml b/.github/workflows/build-ota-updates.yml index 82edaf0d65..f6f36b0741 100644 --- a/.github/workflows/build-ota-updates.yml +++ b/.github/workflows/build-ota-updates.yml @@ -55,8 +55,6 @@ jobs: path: locales - name: Install GNU gettext run: sudo apt-get install gettext - - name: Update curl - run: sudo apt-get install --only-upgrade curl - name: Build OTA updates run: scripts/build-ota-translations.sh - name: Upload OTA updates @@ -66,7 +64,7 @@ jobs: curl --version echo curl --fail-with-body -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{vars.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >xx cat xx - curl --fail-with-body -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{vars.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >response + curl -v --trace --fail-with-body -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" "${{vars.OTA_UPLOAD_ENDPOINT}}?version=${VERSION}" >response cat response modified=$(echo `jq -r '.modified[]' < response`) if [ -n "$modified" ] ; then