File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1616 uses : actions/checkout@v4
1717
1818 - name : Copy translations
19- run : cp src/main/resources/assets/machinelib/lang/en_us.json machinelib.json
19+ run : |
20+ mkdir tmp
21+ cp src/main/resources/assets/machinelib/lang/en_us.json tmp/machinelib.json
2022
2123 - name : Crowdin Push
2224 uses : crowdin/github-action@v2
2527 upload_translations : false
2628 download_translations : false
2729
28- source : ' machinelib.json'
30+ source : ' tmp/ machinelib.json'
2931 translation : ' src/main/resources/assets/machinelib/lang/%locale_with_underscore%.json'
3032 project_id : ${{ secrets.CROWDIN_PROJECT_ID }}
3133 token : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
Original file line number Diff line number Diff line change 1111 uses : actions/checkout@v4
1212
1313 - name : Copy translations
14- run : cp src/main/resources/assets/machinelib/lang/en_us.json machinelib.json
14+ run : |
15+ mkdir tmp
16+ cp src/main/resources/assets/machinelib/lang/en_us.json tmp/machinelib.json
1517
1618 - name : Crowdin Sync
1719 uses : crowdin/github-action@v2
2830 pull_request_labels : ' priority: low, status: ready for review, type: translation'
2931 pull_request_base_branch_name : ' ${{ github.event.repository.default_branch }}'
3032
31- source : ' machinelib.json'
33+ source : ' tmp/ machinelib.json'
3234 translation : ' src/main/resources/assets/machinelib/lang/%locale_with_underscore%.json'
3335 project_id : ${{ secrets.CROWDIN_PROJECT_ID }}
3436 token : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
You can’t perform that action at this time.
0 commit comments