From 20b8efcc50477dbeef65746d22c349fd9e5ac754 Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 16 Jul 2025 15:36:23 +0800 Subject: wip: github actions --- packages/opencode/script/publish-github-action.ts | 8 ++++---- packages/opencode/src/cli/cmd/install-github.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'packages') diff --git a/packages/opencode/script/publish-github-action.ts b/packages/opencode/script/publish-github-action.ts index 2c4eb7c71..dc0e4099d 100755 --- a/packages/opencode/script/publish-github-action.ts +++ b/packages/opencode/script/publish-github-action.ts @@ -2,7 +2,7 @@ import { $ } from "bun" -await $`git tag -d v1` -await $`git push origin :refs/tags/v1` -await $`git tag -a v1 -m "Update v1 to latest"` -await $`git push origin v1` +await $`git tag -d github-v1` +await $`git push origin :refs/tags/github-v1` +await $`git tag -a github-v1 -m "Update github-v1 to latest"` +await $`git push origin github-v1` diff --git a/packages/opencode/src/cli/cmd/install-github.ts b/packages/opencode/src/cli/cmd/install-github.ts index 18c295d63..6e60ad722 100644 --- a/packages/opencode/src/cli/cmd/install-github.ts +++ b/packages/opencode/src/cli/cmd/install-github.ts @@ -231,7 +231,7 @@ jobs: fetch-depth: 1 - name: Run opencode - uses: sst/opencode/sdks/github@dev${envStr} + uses: sst/opencode/sdks/github@github-v1${envStr} with: model: ${provider}/${model} `.trim(), -- cgit v1.2.3