From 6960408ca226703cc5837eac0b4ffc6d077a0bdd Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Wed, 10 Sep 2025 04:23:43 -0400 Subject: ci: bump version --- .github/workflows/format.yml | 9 ++++----- .github/workflows/publish.yml | 17 +++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index e78702301..7a42fe823 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -20,10 +20,9 @@ jobs: with: bun-version: 1.2.21 - - name: Install dependencies - run: bun install - - - name: Run format - run: ./script/format.ts + - name: run + run: | + bun install + ./script/format.ts env: CI: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 645a7b504..51ffa4908 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,14 +4,14 @@ run-name: "${{ format('v{0}', inputs.version) }}" on: workflow_dispatch: inputs: - version: - description: "Version to publish" + bump: + description: "Bump major, minor, or patch" required: true - type: string - title: - description: "Custom title for this run" - required: false - type: string + type: choice + options: + - major + - minor + - patch concurrency: ${{ github.workflow }}-${{ github.ref }} @@ -65,8 +65,9 @@ jobs: - name: Publish run: | - OPENCODE_VERSION=${{ inputs.version }} ./script/publish.ts + ./script/publish.ts env: + OPENCODE_BUMP: ${{ inputs.bump }} GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }} AUR_KEY: ${{ secrets.AUR_KEY }} NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }} -- cgit v1.2.3