release.yml 604 B

12345678910111213141516171819202122232425
  1. on:
  2. push:
  3. # Sequence of patterns matched against refs/tags
  4. tags:
  5. - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
  6. name: Release
  7. jobs:
  8. release:
  9. name: Release
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout code
  13. uses: actions/checkout@v2
  14. - name: Create Release
  15. id: create_release
  16. uses: actions/create-release@v1
  17. env:
  18. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  19. with:
  20. tag_name: ${{ github.ref }}
  21. release_name: Release ${{ github.ref }}
  22. draft: false
  23. prerelease: false