Skip to content

fix(dict): Update dictionaries to latest versions (#2201) #197

fix(dict): Update dictionaries to latest versions (#2201)

fix(dict): Update dictionaries to latest versions (#2201) #197

Workflow file for this run

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