10 Commits

Author SHA1 Message Date
Martin Pulec
f4f54fdae9 partially revert 194cb695
The REST API returned 4xx on unknown object but valid JSON body. As
written originally, valid JSON was assumed (result queried on null).

So revert back the original curl calls where acquiring JSON.
2025-11-14 16:30:28 +01:00
Martin Pulec
194cb695e3 GH scripts: add -f to curl
to catch 4xx HTTP errors (curls returns 0 otherwise)
2025-07-15 09:20:42 +02:00
Martin Pulec
2b9b642023 GH scripts: import back from GPUJPEG
import improvements from GPUJPEG - summary:
- LABEL - replace ' ' with %20 (will get to URL)
- use while instead of for..seq
- cat json file directly (avoid interpretting \n and \r that XSI-compilant
echo, as in dash, does)
- cat really the $json file, don't print its name
- wrap long lines + early return in while-loop

The rewrite of `for n in \`seq` may be perhaps a bit controversal
(with while is less readable) but technically POSIX doesn't specify the
seq comand.
2025-06-11 13:16:03 +02:00
Martin Pulec
cb789020d6 shellchecked all remaining CI scripts 2022-09-08 14:43:42 +02:00
Martin Pulec
aa23e38200 Added GitHub action for ARM builds 2020-05-29 10:13:33 +02:00
Martin Pulec
d2aa27da2a GitHub CI: use JSON file
Use JSON as a file to fix '\n' in JSON handling.
2020-05-26 21:50:51 +02:00
Martin Pulec
cc85548cfb delete-asset.sh: compare rather raw JSON string 2020-04-03 13:52:11 +02:00
Martin Pulec
ee974c7764 GitHub Workflows: check HTTP status codes 2020-04-03 13:51:57 +02:00
Martin Pulec
c3aeb202d7 CI: {delete,upload}-asset.sh - check more errors 2020-03-24 08:05:57 +01:00
Martin Pulec
a3fc132722 CI: Updated nightly
- upload assets with script [nightly]
- remove unneeded Windows runner components (Android, dotnet) to free up
  space (namely for Qt)
- no timeout for pacman (sometimes failed)
2020-03-19 09:53:29 +01:00