Actualiser .gitea/workflows/check-release.yaml
Some checks failed
Check Calibre-web version / check-version (push) Failing after 0s

This commit is contained in:
2025-04-05 20:48:56 +02:00
parent 8624dd5cb4
commit 1303ad60a4

View File

@@ -14,10 +14,17 @@ jobs:
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: curl awk
version: 1.0
shell: bash
run: sudo apt-get install -y curl awk
- name: retrieve Calibre-web version
run: curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]' > calibre_web_latest.txt
run: |
curl -sX GET "https://api.github.com/repos/janeczku/calibre-web/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]' > calibre_web_latest.txt
shell: bash
- name: Log On Haoma
run: curl -fsS -m 10 --retry 5 --data-binary @calibre_web_latest.txt \
shell: bash
run: |
curl -fsS -m 10 --retry 5 --data-binary @calibre_web_latest.txt \
'https://haoma.petite-maison-orange.fr/ping/933b9d63-37e1-42a7-9681-241af9c582f1'