Skip to content

Commit

Permalink
Put both Mincho and Gothic under the same release
Browse files Browse the repository at this point in the history
  • Loading branch information
Transfusion committed Mar 24, 2021
1 parent 1e4513f commit 539ab59
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Generate MinchoTai
name: Generate SVGs

# defaults:
# run:
# working-directory: test

on: [push]
on:
push:
tags:
- "*"

jobs:
build:
Expand All @@ -25,10 +28,15 @@ jobs:
- run: TEST_RUN=true npm run start 2 1 glyphwiki_dump/dump_newest_only.txt glyphwiki_dump/dump_all_versions_noescape.txt glyphwiki_mincho.txt
- run: cat glyphwiki_mincho.txt.* > glyphwiki_mincho.txt
- run: gzip glyphwiki_mincho.txt
- run: TEST_RUN=true npm run start 2 0 glyphwiki_dump/dump_newest_only.txt glyphwiki_dump/dump_all_versions_noescape.txt glyphwiki_gothic.txt
- run: cat glyphwiki_gothic.txt.* > glyphwiki_gothic.txt
- run: gzip glyphwiki_gothic.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: glyphwiki_mincho.txt.gz
files: |
glyphwiki_mincho.txt.gz
glyphwiki_gothic.txt.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 539ab59

Please sign in to comment.