Skip to content

Commit

Permalink
v trace
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Sep 27, 2024
1 parent afdc1fc commit f6781c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-ota-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f6781c8

Please sign in to comment.