summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/publish-github-action.yml
blob: 7c486097d8aad331aabacba37ff50ed5b41d5123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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