readme.yml 976 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: Translate README
  2. on:
  3. # 这个选项可以使你手动在 Action tab 页面触发工作流
  4. workflow_dispatch:
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - name: Setup Node.js
  11. uses: actions/setup-node@v1
  12. with:
  13. node-version: 12.x
  14. # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
  15. - name: Adding README - English
  16. uses: dephraiim/translate-readme@main
  17. with:
  18. LANG: en
  19. - name: Adding README - Japanese
  20. uses: dephraiim/translate-readme@main
  21. with:
  22. LANG: ja
  23. - name: Adding README - German
  24. uses: dephraiim/translate-readme@main
  25. with:
  26. LANG: de
  27. - name: Adding README - French
  28. uses: dephraiim/translate-readme@main
  29. with:
  30. LANG: fr
  31. - name: Adding README - Spanish
  32. uses: dephraiim/translate-readme@main
  33. with:
  34. LANG: es