release.yml 426 B

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