This commit is contained in:
Frank 2025-08-15 18:49:22 +08:00
parent 70b4b78922
commit 339807d1b8

View file

@ -16,14 +16,18 @@ inputs:
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Install opencode # - name: Install opencode
shell: bash # shell: bash
run: curl -fsSL https://opencode.ai/install | bash # run: curl -fsSL https://opencode.ai/install | bash
- run: git clone https://github.com/sst/opencode.git
- run: cd opencode && bun i && cd ..
- name: Run opencode - name: Run opencode
shell: bash shell: bash
id: run_opencode id: run_opencode
run: opencode github run #run: opencode github run
run: bun opencode/packages/opencode/src/index.ts github run
env: env:
MODEL: ${{ inputs.model }} MODEL: ${{ inputs.model }}
SHARE: ${{ inputs.share }} SHARE: ${{ inputs.share }}