From dc4e1b12c10cdc58b56c5ec4ad7acc0ea0e2b9f8 Mon Sep 17 00:00:00 2001 From: Yuto Fushimi Date: Fri, 13 Mar 2020 13:49:36 +0900 Subject: [PATCH] Automatic Release --- .github/workflows/main.yml | 37 +++++++++++++++++++++++++++++++++++++ github-releases/body.md | 3 +++ github-releases/title.txt | 1 + 3 files changed, 41 insertions(+) create mode 100644 .github/workflows/main.yml create mode 100644 github-releases/body.md create mode 100644 github-releases/title.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..018e9e0 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }} diff --git a/github-releases/body.md b/github-releases/body.md new file mode 100644 index 0000000..04eca18 --- /dev/null +++ b/github-releases/body.md @@ -0,0 +1,3 @@ +# Fixed + +- Quotation Handling (thx @sh1ch !) \ No newline at end of file diff --git a/github-releases/title.txt b/github-releases/title.txt new file mode 100644 index 0000000..76793a0 --- /dev/null +++ b/github-releases/title.txt @@ -0,0 +1 @@ +Fixed Quotation Handling \ No newline at end of file