Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dyu1208 authored Aug 13, 2020
1 parent ccf561a commit f9b18dd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f9b18dd

Please sign in to comment.