Skip to content

Commit

Permalink
Merge pull request #2 from yutokun/ci
Browse files Browse the repository at this point in the history
Create main.yml
  • Loading branch information
yutokun authored Mar 13, 2020
2 parents 51358f2 + dc4e1b1 commit db02393
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Create GitHub Releases

on:
push:
tags:
- '**'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Load Release Informations
run: |
echo "::set-env name=FILENAME::Assets/Scripts/CSVParser.cs"
echo "::set-env name=TITLE::`cat github-releases/title.txt`"
- name: Create a GitHub Release
uses: softprops/action-gh-release@v0.1.5
with:
# Note-worthy description of changes in release
# body: # optional
# Path to load note-worthy description of changes in release from
body_path: github-releases/body.md
# Gives the release a custom name. Defaults to tag name
name: ${{ env.TITLE }}
# Creates a draft release. Defaults to false
draft: false
# Identify the release as a prerelease. Defaults to false
prerelease: false
# Newline-delimited list of path globs for asset files to upload
files: ${{ env.FILENAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions github-releases/body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Fixed

- Quotation Handling (thx @sh1ch !)
1 change: 1 addition & 0 deletions github-releases/title.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed Quotation Handling

0 comments on commit db02393

Please sign in to comment.