Update action

This commit is contained in:
Elio Struyf
2024-02-28 14:28:37 +01:00
parent 4bff53299e
commit 9086868817
+4 -1
View File
@@ -1,7 +1,7 @@
name: Localization sync
description: Syncs the localization values from English to the other supported languages
input:
inputs:
TRANSLATION_API_KEY:
description: 'The API key for the translation service'
required: true
@@ -27,9 +27,11 @@ runs:
cache: 'npm'
- name: Install the dependencies
shell: bash
run: npm ci
- name: Sync localization
shell: bash
run: npm run sync-localization
env:
TRANSLATION_API_KEY: ${{ inputs.TRANSLATION_API_KEY }}
@@ -37,6 +39,7 @@ runs:
TRANSLATION_API_URL: ${{ inputs.TRANSLATION_API_URL }}
- name: Remove the node_modules
shell: bash
run: rm -rf node_modules
- uses: actions/upload-artifact@v4