Github action is using old version of opencode #1864

Closed
opened 2026-02-16 17:33:00 -05:00 by yindo · 4 comments
Owner

Originally created by @trousev on GitHub (Sep 28, 2025).

Originally assigned to: @fwang on GitHub.

When I run github action, I see that very old opencode is being used 0.5.5, as per screenshot

Image

Here is my opencode.yml who is running it:

on:
  issue_comment:
    types: [created]

jobs:
  opencode:
    if: |
      contains(github.event.comment.body, '/oc') ||
      contains(github.event.comment.body, '/opencode')
    runs-on: self-hosted
    permissions:
      contents: write
      id-token: write
      pull-requests: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Set up Node.js
        uses: actions/setup-node@v3
        with:
          node-version: "20" # Or your preferred LTS version like '18' or '22'

      - name: Run opencode
        uses: sst/opencode/github@latest
        env:
          OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
        with:
          model: openrouter/qwen/qwen3-coder:free

... everything else is not interesting because opencode is already wrong version ...

This does not allow to specify one of new grok models, because opencode 0.5.5 does not support them

Originally created by @trousev on GitHub (Sep 28, 2025). Originally assigned to: @fwang on GitHub. When I run github action, I see that very old `opencode` is being used `0.5.5`, as per screenshot <img width="734" height="300" alt="Image" src="https://github.com/user-attachments/assets/7fbb43a2-f828-475b-b0be-43551c0155de" /> Here is my `opencode.yml` who is running it: ``` on: issue_comment: types: [created] jobs: opencode: if: | contains(github.event.comment.body, '/oc') || contains(github.event.comment.body, '/opencode') runs-on: self-hosted permissions: contents: write id-token: write pull-requests: write steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v3 with: node-version: "20" # Or your preferred LTS version like '18' or '22' - name: Run opencode uses: sst/opencode/github@latest env: OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }} with: model: openrouter/qwen/qwen3-coder:free ... everything else is not interesting because opencode is already wrong version ... ``` This does not allow to specify one of new grok models, because opencode 0.5.5 does not support them
yindo closed this issue 2026-02-16 17:33:00 -05:00
Author
Owner

@rekram1-node commented on GitHub (Sep 28, 2025):

@trousev this was intentionally done by @fwang but I will ask him about when we expect this to get updated to match latest

@rekram1-node commented on GitHub (Sep 28, 2025): @trousev this was intentionally done by @fwang but I will ask him about when we expect this to get updated to match latest
Author
Owner

@poad commented on GitHub (Oct 7, 2025):

@fwang @rekram1-node
When will the latest version of the action be released?

When using the latest v0.14.5 action, I get an error where the bun version catalog cannot be resolved, as shown below. Don't you think a fix similar to https://github.com/sst/opencode/pull/2614 is needed? (Although this would result in duplicate management of the bun version, so it would be nice if there were a better approach...

Run sst/opencode/github@27c211ef869cae9d18b3fefc36ba787af75ebde0
Run curl -fsSL https://opencode.ai/install | bash
Downloading opencode version: 0.14.5 ...
#=#=#                                                                          
##O#-#                                                                         

                                                                           0.0%
###############                                                           22.1%
################################                                          44.9%
###############################################                           66.3%
###############################################################           88.4%
######################################################################## 100.0%
Successfully added opencode to $PATH in /home/runner/.bashrc
Added /home/runner/.opencode/bin to $GITHUB_PATH
Run npm install -g bun

added 5 packages in 8s
Run cd ${GITHUB_ACTION_PATH}
bun install v1.2.23 (cf136713)
error: @types/bun@catalog: failed to resolve
Error: Process completed with exit code 1.
@poad commented on GitHub (Oct 7, 2025): @fwang @rekram1-node When will the latest version of the action be released? When using the latest v0.14.5 action, I get an error where the bun version catalog cannot be resolved, as shown below. Don't you think a fix similar to https://github.com/sst/opencode/pull/2614 is needed? (Although this would result in duplicate management of the bun version, so it would be nice if there were a better approach... ```text Run sst/opencode/github@27c211ef869cae9d18b3fefc36ba787af75ebde0 Run curl -fsSL https://opencode.ai/install | bash Downloading opencode version: 0.14.5 ... #=#=# ##O#-# 0.0% ############### 22.1% ################################ 44.9% ############################################### 66.3% ############################################################### 88.4% ######################################################################## 100.0% Successfully added opencode to $PATH in /home/runner/.bashrc Added /home/runner/.opencode/bin to $GITHUB_PATH Run npm install -g bun added 5 packages in 8s Run cd ${GITHUB_ACTION_PATH} bun install v1.2.23 (cf136713) error: @types/bun@catalog: failed to resolve Error: Process completed with exit code 1. ```
Author
Owner

@rekram1-node commented on GitHub (Oct 7, 2025):

It will be fixed very soon just talked with @fwang, the team has been super busy with some other items but Frank said he can tackle this next

@rekram1-node commented on GitHub (Oct 7, 2025): It will be fixed very soon just talked with @fwang, the team has been super busy with some other items but Frank said he can tackle this next
Author
Owner

@rekram1-node commented on GitHub (Oct 16, 2025):

fixed on latest

@rekram1-node commented on GitHub (Oct 16, 2025): fixed on latest
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1864