# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Create Release

on:
  push:
    tags:
      - '**'

jobs:
  build:
    name: Create Release
    runs-on: ubuntu-latest
    steps:
      # Get checkout
      - name: Checkout code
        uses: actions/checkout@master

      - name: Create Release
        id: create_release
        uses: actions/create-release@latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          body: |
            Changes in this Release
            - First Change
            - Second Change
          draft: false
          prerelease: false
