1on:
2  push:
3    # Sequence of patterns matched against refs/tags
4    tags:
5      - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
6
7name: Create Release
8
9jobs:
10  build:
11    name: Create Release
12    runs-on: ubuntu-latest
13    steps:
14      - name: Checkout code
15        uses: actions/checkout@v2
16      - name: Create Release
17        id: create_release
18        uses: actions/create-release@v1
19        env:
20          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
21        with:
22          tag_name: ${{ github.ref }}
23          release_name: Release ${{ github.ref }}
24          body: |
25            See the [CHANGELOG](https://github.com/lvgl/lvgl/blob/master/docs/CHANGELOG.md)
26          draft: false
27          prerelease: false
28