fix: add extra ways to cycle through faces and make improvements to t… #3
This file contains hidden or 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
| name: Crowdin Translation Push | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ 'minecraft/*' ] | |
| paths: | |
| - 'src/main/resources/assets/machinelib/lang/en_us.json' | |
| jobs: | |
| crowdin_push: | |
| runs-on: ubuntu-24.04 | |
| if: github.ref_name == github.event.repository.default_branch | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Copy translations | |
| run: | | |
| mkdir tmp | |
| cp src/main/resources/assets/machinelib/lang/en_us.json tmp/machinelib.json | |
| - name: Crowdin Push | |
| uses: crowdin/github-action@v2 | |
| with: | |
| upload_sources: true | |
| upload_translations: false | |
| download_translations: false | |
| source: 'tmp/machinelib.json' | |
| translation: 'src/main/resources/assets/machinelib/lang/%locale_with_underscore%.json' | |
| project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | |
| token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | |
| base_url: ${{ secrets.CROWDIN_BASE_URL }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |