From a6572725bce78afc789910b4547be159321fd3e8 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 31 Jul 2025 00:42:35 -0400 Subject: [PATCH] sync --- .github/workflows/publish.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c750c47db..ac09928cf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,13 +2,11 @@ name: publish on: workflow_dispatch: - push: - branches: - - dev - tags: - - "*" - - "!vscode-v*" - - "!github-v*" + inputs: + version: + description: "Version to publish" + required: true + type: string concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -53,11 +51,7 @@ jobs: - name: Publish run: | bun install - if [ "${{ startsWith(github.ref, 'refs/tags/') }}" = "true" ]; then - ./script/publish.ts - else - ./script/publish.ts --snapshot - fi + OPENCODE_VERSION=${{ inputs.version }} ./script/publish.ts working-directory: ./packages/opencode env: GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}