From 20b8efcc50477dbeef65746d22c349fd9e5ac754 Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 16 Jul 2025 15:36:23 +0800 Subject: wip: github actions --- .github/workflows/publish-github-action.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/publish-github-action.yml (limited to '.github') diff --git a/.github/workflows/publish-github-action.yml b/.github/workflows/publish-github-action.yml new file mode 100644 index 000000000..7c486097d --- /dev/null +++ b/.github/workflows/publish-github-action.yml @@ -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 -- cgit v1.2.3