iso.yml: let just's installer overwrite an earlier run's binary
Some checks failed
Installer ISO / iso (push) Failing after 33s
Some checks failed
Installer ISO / iso (push) Failing after 33s
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 <noreply@anthropic.com>
This commit is contained in:
parent
2d969753d6
commit
b744a378e4
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
curl -fsSL https://taskfile.dev/install.sh | sh -s -- -d -b "$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/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
|
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"
|
chmod +x "$HOME/.local/bin/yq" "$HOME/.local/bin/cosign"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue