publish-github-action.yml 568 B

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