Skip to content

opencode with Github action: Failed to fetch version information #1818

@codeagencybe

Description

@codeagencybe

When I use the agent with Github, my action doesn't work. I always keep turning into this error:

Run sst/opencode/github@latest
Run curl -fsSL https://opencode.ai/install | bash
  curl -fsSL https://opencode.ai/install | bash
  shell: /opt/homebrew/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    ANTHROPIC_API_KEY: ***
\033[0;31mFailed to fetch version information\033[0m
Error: Process completed with exit code 1.

Image

I followed all the steps like below. My action is triggered, but it fails on the key while the key is set properly

Image Image

What could be the root cause here? I'm using a self hosted runner on my Macbook pro M4.

Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions