mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
wip: github actions
This commit is contained in:
parent
a86d42149f
commit
20b8efcc50
3 changed files with 29 additions and 5 deletions
24
.github/workflows/publish-github-action.yml
vendored
Normal file
24
.github/workflows/publish-github-action.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: publish-github-action
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- run: git fetch --force --tags
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.2.17
|
||||
|
||||
- name: Publish
|
||||
run: ./script/publish-github-action.ts
|
||||
working-directory: ./packages/opencode
|
||||
Loading…
Add table
Add a link
Reference in a new issue