publish-github-action.yml 583 B

1234567891011121314151617181920212223242526272829
  1. name: publish-github-action
  2. on:
  3. workflow_dispatch:
  4. concurrency: ${{ github.workflow }}-${{ github.ref }}
  5. permissions:
  6. contents: write
  7. jobs:
  8. publish:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. with:
  13. fetch-depth: 0
  14. - run: git fetch --force --tags
  15. - uses: oven-sh/setup-bun@v2
  16. with:
  17. bun-version: 1.2.17
  18. - name: Publish
  19. run: |
  20. git config --global user.email "[email protected]"
  21. git config --global user.name "opencode"
  22. ./scripts/publish-github-action.ts