fix(dict): Update dictionaries to latest versions (#1726) #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release rikaikun | |
on: | |
workflow_dispatch: | |
inputs: | |
dryRun: | |
description: '-d skips prepare and publish steps' | |
required: false | |
default: '' | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'extension/data/*' | |
- '!extension/data/deinflect.dat' | |
jobs: | |
release: | |
name: Release rikaikun | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.6.0 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@v3.8.1 | |
with: | |
node-version: lts/* | |
- name: Install Japanese Fonts | |
run: | | |
sudo apt-get update | |
sudo apt-get install fonts-noto-cjk | |
- name: Install dependencies and build | |
run: npm ci | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT }} | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
GOOGLE_REFRESH_TOKEN: ${{ secrets.GOOGLE_REFRESH_TOKEN }} | |
run: npx semantic-release ${{ github.event.inputs.dryRun}} | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: extension_package | |
path: rikaikun.zip |