Skip to content

Adjust fidget.nvim plugin config #242

Adjust fidget.nvim plugin config

Adjust fidget.nvim plugin config #242

Workflow file for this run

name: Translate README
on:
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
# ISO Language Codes: https://cloud.google.com/translate/docs/languages
- name: Check for README changes
id: check_readme
run: echo ::set-output name=changed::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep README.md)
- name: Adding README - Chinese Traditional
if: steps.check_readme.outputs.changed == 'README.md'
uses: dephraiim/translate-readme@main
with:
LANG: zh-TW
- name: Adding README - English
if: steps.check_readme.outputs.changed == 'README.md'
uses: dephraiim/translate-readme@main
with:
LANG: en