diff --git a/.gitea/workflows/handy-update.yml b/.gitea/workflows/handy-update.yml index f3ccf77..3220390 100644 --- a/.gitea/workflows/handy-update.yml +++ b/.gitea/workflows/handy-update.yml @@ -1,8 +1,6 @@ name: handy update on: - push: - branches: [main] schedule: - cron: "40 6 * * *" workflow_dispatch: diff --git a/.gitea/workflows/helium-update.yml b/.gitea/workflows/helium-update.yml index 18b1129..0f16097 100644 --- a/.gitea/workflows/helium-update.yml +++ b/.gitea/workflows/helium-update.yml @@ -57,12 +57,16 @@ jobs: url="https://github.com/imputnet/helium-linux/releases/download/${latest_version}/helium-${latest_version}-x86_64.AppImage" new_hash=$(nix store prefetch-file --json "$url" | python -c 'import json,sys; print(json.load(sys.stdin)["hash"])') + export LATEST_VERSION="$latest_version" + export NEW_HASH="$new_hash" + python - <