GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: combine sdk and format workflows into single generate workflow · felipe/opencode@1efdcea

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • generate.yml
    • sdk.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/format.yml‎ ‎.github/workflows/generate.yml‎.github/workflows/format.yml renamed to .github/workflows/generate.yml

Copy file name to clipboard
+10-9Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: format
1+
name: generate
22

33
on:
44
push:
@@ -8,14 +8,10 @@ on:
88
branches-ignore:
99
- production
1010
workflow_dispatch:
11-
workflow_run:
12-
workflows: ["sdk"]
13-
types:
14-
- completed
11+
1512
jobs:
16-
format:
13+
generate:
1714
runs-on: blacksmith-4vcpu-ubuntu-2404
18-
if: github.event.workflow_run.conclusion == 'success'
1915
permissions:
2016
contents: write
2117
steps:
@@ -29,9 +25,14 @@ jobs:
2925
- name: Setup Bun
3026
uses: ./.github/actions/setup-bun
3127

32-
- name: run
28+
- name: Generate SDK
3329
run: |
34-
./script/format.ts
30+
bun ./packages/sdk/js/script/build.ts
31+
(cd packages/opencode && bun dev generate > ../sdk/openapi.json)
32+
bun x prettier --write packages/sdk/openapi.json
33+
34+
- name: Format
35+
run: ./script/format.ts
3536
env:
3637
CI: true
3738
PUSH_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
Collapse file

‎.github/workflows/sdk.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/sdk.yml
-43Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.