release.yml 447 B

12345678910111213141516171819202122232425
  1. name: release
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - preview
  7. - main
  8. - v*.x
  9. tags-ignore:
  10. - "**"
  11. jobs:
  12. release:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v2
  16. - uses: cycjimmy/semantic-release-action@v2
  17. with:
  18. extra_plugins: |
  19. @semantic-release/changelog
  20. @semantic-release/git
  21. env:
  22. GITHUB_TOKEN: ${{ github.token }}