From 1948135385b862079fe13a1f503271295946d4ea Mon Sep 17 00:00:00 2001 From: Pavlo Rudy Date: Tue, 10 Oct 2023 10:36:44 +0300 Subject: [PATCH] enforce hub install --- .github/workflows/node.js.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 04d24a9..d0a3049 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -45,6 +45,7 @@ jobs: curl -L https://github.com/paulcarroty/flathub-chart/releases/download/latest/monthly.json -o src/assets/monthly.json curl -L https://github.com/paulcarroty/flathub-chart/releases/download/latest/yearly.json -o src/assets/yearly.json curl -L https://github.com/paulcarroty/flathub-chart/releases/download/latest/timestamp.json -o src/assets/timestamp.json + sudo apt update && sudo apt install hub hub release create -m "Daily sync `date -u`" latest || echo "can't create the release 'latest', probably it's available" node fetch.js && for chart in *ly.json timestamp.json; do hub release edit latest -a "$chart" -m "Daily sync `date -u`"