publish-github-action.yml 474 B

123456789101112131415161718192021222324
  1. name: publish-github-action
  2. on:
  3. workflow_dispatch:
  4. concurrency: ${{ github.workflow }}-${{ github.ref }}
  5. jobs:
  6. publish:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v3
  10. with:
  11. fetch-depth: 0
  12. - run: git fetch --force --tags
  13. - uses: oven-sh/setup-bun@v2
  14. with:
  15. bun-version: 1.2.17
  16. - name: Publish
  17. run: ./script/publish-github-action.ts
  18. working-directory: ./packages/opencode