chore(ci): remove pinned OpenCode version in sisyphus-agent workflow
Use default installer which installs latest version instead of fallback to hardcoded v1.0.204.
This commit is contained in:
parent
f9dca8d877
commit
965bb2dd10
10
.github/workflows/sisyphus-agent.yml
vendored
10
.github/workflows/sisyphus-agent.yml
vendored
@ -89,15 +89,15 @@ jobs:
|
|||||||
echo "Installing OpenCode..."
|
echo "Installing OpenCode..."
|
||||||
curl -fsSL https://opencode.ai/install -o /tmp/opencode-install.sh
|
curl -fsSL https://opencode.ai/install -o /tmp/opencode-install.sh
|
||||||
|
|
||||||
# Try default installer first, fallback to pinned version if it fails
|
# Try default installer first, fallback to re-download if it fails
|
||||||
if file /tmp/opencode-install.sh | grep -q "shell script\|text"; then
|
if file /tmp/opencode-install.sh | grep -q "shell script\|text"; then
|
||||||
if ! bash /tmp/opencode-install.sh 2>&1; then
|
if ! bash /tmp/opencode-install.sh 2>&1; then
|
||||||
echo "Default installer failed, trying with pinned version..."
|
echo "Default installer failed, trying direct install..."
|
||||||
bash /tmp/opencode-install.sh --version 1.0.204
|
bash <(curl -fsSL https://opencode.ai/install)
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Download corrupted, trying direct install with pinned version..."
|
echo "Download corrupted, trying direct install..."
|
||||||
bash <(curl -fsSL https://opencode.ai/install) --version 1.0.204
|
bash <(curl -fsSL https://opencode.ai/install)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
opencode --version
|
opencode --version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user