fix: LuaSnip load path #275
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: 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 |