summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-10 04:23:43 -0400
committerDax Raad <[email protected]>2025-09-10 04:23:57 -0400
commit6960408ca226703cc5837eac0b4ffc6d077a0bdd (patch)
tree81d647e258bea76c39aa8cf300b346cdfec6b286 /.github/workflows
parentfa36195492196fb7e11c0f0fe2586dabd844129a (diff)
downloadopencode-6960408ca226703cc5837eac0b4ffc6d077a0bdd.tar.gz
opencode-6960408ca226703cc5837eac0b4ffc6d077a0bdd.zip
ci: bump version
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/format.yml9
-rw-r--r--.github/workflows/publish.yml17
2 files changed, 13 insertions, 13 deletions
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 }}