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 — wip: github actions · major/opencode@7ac0a2b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • opencode.yml
    • publish-github-action.yml
  • packages/opencode/script
    • publish-github-action.ts
  • scripts
    • publish-github-action.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/opencode.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/opencode.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 1
1818

1919
- name: Run opencode
20-
uses: sst/opencode/sdks/github@dev
20+
uses: sst/opencode/sdks/github@github-v1
2121
env:
2222
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
2323
with:
Collapse file

‎.github/workflows/publish-github-action.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish-github-action.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ jobs:
2626
run: |
2727
git config --global user.email "[email protected]"
2828
git config --global user.name "opencode"
29-
./script/publish-github-action.ts
30-
working-directory: ./packages/opencode
29+
./scripts/publish-github-action.ts
Collapse file

‎packages/opencode/script/publish-github-action.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/script/publish-github-action.ts
-8Lines changed: 0 additions & 8 deletions
This file was deleted.
Collapse file

‎scripts/publish-github-action.ts‎

Copy file name to clipboard
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bun
2+
3+
import { $ } from "bun"
4+
5+
try {
6+
await $`git tag -d github-v1`
7+
await $`git push origin :refs/tags/github-v1`
8+
} catch (e) {
9+
if (e instanceof Error && e.message.includes("not found")) {
10+
console.log("tag not found, continuing...")
11+
} else {
12+
throw e
13+
}
14+
}
15+
await $`git tag -a github-v1 -m "Update github-v1 to latest"`
16+
await $`git push origin github-v1`

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.