fix(dict): Update dictionaries to latest versions (#2024) #173
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/[email protected] | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
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@v4 | |
if: failure() | |
with: | |
name: extension_package | |
path: rikaikun.zip |