diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ffbd099..87d3651 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,22 +15,22 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on + name: Create Release runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - - name: Create a Release - uses: actions/create-release@v1 - with: - # The name of the tag. This should come from the webhook payload, `github.GITHUB_REF` when a user pushes a new tag + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: tag_name: 1.2.0 - # The name of the release. For example, `Release v1.0.1` - release_name: 1.2.0 - + release_name: Release 1.2.0 + body: | + Changes in this Release + - First Change + - Second Change + draft: false + prerelease: false