Skip to content

Merge pull request #4 from submittable/re-structure-workflows #2

Merge pull request #4 from submittable/re-structure-workflows

Merge pull request #4 from submittable/re-structure-workflows #2

# 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 }}