From b35d617b31102a4a464c25913beb13349394ff29 Mon Sep 17 00:00:00 2001 From: "thomas g. lopes" Date: Mon, 9 Mar 2026 16:20:03 +0000 Subject: [PATCH] fix all workflows: use env vars for python f-strings --- .gitea/workflows/handy-update.yml | 2 -- .gitea/workflows/helium-update.yml | 8 ++++++-- .gitea/workflows/zen-browser-update.yml | 8 ++++++-- 3 files changed, 12 insertions(+), 6 deletions(-) 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 - <