chore(workflow): use write-file-action to write JSON report in Crowdin contributors workflow

This commit is contained in:
Akash Yadav
2023-12-26 12:39:48 +05:30
parent f8f8f93d68
commit d5b03f61d2
+5 -2
View File
@@ -32,8 +32,11 @@ jobs:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Write JSON report
run: |
echo ${{ steps.generate_table.outputs.json_report }} > ${{ env.CONTRIBUTORS_JSON_FILENAME }}
uses: "DamianReeves/write-file-action@master"
with:
path: ${{ env.CONTRIBUTORS_JSON_FILENAME }}
write-mode: overwrite
contents: ${{ steps.generate_table.outputs.json_report }}
- name: Upload JSON report
uses: actions/upload-artifact@v3