Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
27 lines
708 B
YAML
27 lines
708 B
YAML
# YOLOv5 🚀 by Ultralytics, AGPL-3.0 license
|
|
# README translation action to translate README.md to Chinese as README.zh-CN.md on any change to README.md
|
|
|
|
name: Translate README
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- translate_readme # replace with 'master' to enable action
|
|
paths:
|
|
- README.md
|
|
|
|
jobs:
|
|
Translate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 16
|
|
# ISO Language Codes: https://cloud.google.com/translate/docs/languages
|
|
- name: Adding README - Chinese Simplified
|
|
uses: dephraiim/translate-readme@main
|
|
with:
|
|
LANG: zh-CN
|