Skip to content

Create translate-readme.yml #1

Create translate-readme.yml

Create translate-readme.yml #1

name: Translate README
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18.x
# ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
- name: Adding README - English
uses: dephraiim/translate-readme@main
with:
LANG: en-US
- name: Adding README - English to sub directory
uses: dephraiim/translate-readme@main
working-directory: ./docs

Check failure on line 27 in .github/workflows/translate-readme.yml

View workflow run for this annotation

GitHub Actions / Translate README

Invalid workflow file

The workflow is not valid. .github/workflows/translate-readme.yml (Line: 27, Col: 9): Unexpected value 'working-directory'
with:
LANG: en-US