From b744a378e473e327996f571bdc36e82a1d00d25a Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Fri, 30 Oct 2026 03:53:32 -0800 Subject: [PATCH] iso.yml: let just's installer overwrite an earlier run's binary On a host-mode runner $HOME persists between jobs, so the second run failed with 'just already exists'. Co-Authored-By: Claude Opus 5.5 --- .forgejo/workflows/iso.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/iso.yml b/.forgejo/workflows/iso.yml index 2426d1e..f1693c0 100644 --- a/.forgejo/workflows/iso.yml +++ b/.forgejo/workflows/iso.yml @@ -41,7 +41,9 @@ jobs: run: | mkdir -p "$HOME/.local/bin" curl -fsSL https://taskfile.dev/install.sh | sh -s -- -d -b "$HOME/.local/bin" - curl -fsSL https://just.systems/install.sh | bash -s -- --to "$HOME/.local/bin" + # --force: on a host-mode runner $HOME outlives the job, and + # just's installer won't overwrite the previous run's binary. + curl -fsSL https://just.systems/install.sh | bash -s -- --force --to "$HOME/.local/bin" curl -fsSL -o "$HOME/.local/bin/yq" https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 curl -fsSL -o "$HOME/.local/bin/cosign" https://github.com/sigstore/cosign/releases/latest/download/cosign-linux-amd64 chmod +x "$HOME/.local/bin/yq" "$HOME/.local/bin/cosign"