Merge pull request #4 from submittable/re-structure-workflows #2
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
# action.yml | |
name: "Restructure JSON files" | |
branding: | |
icon: book-open | |
color: blue | |
description: "move and rename files to match the $language_code/translation.json structure." | |
inputs: | |
languages: | |
description: "A comma separated list languages to use" | |
required: true | |
input-path: | |
description: "Path for files to be input" | |
required: true | |
output-path: | |
description: "Path for files to be written to" | |
required: false | |
default: "public/locales" | |
runs: | |
using: "docker" | |
image: "localize-restructure-Dockerfile" | |
args: | |
- ${{ inputs.languages }} | |
- ${{ inputs.input-path }} | |
- ${{ inputs.output-path }} |