Fix container aware interface location (#701) #35
Workflow file for this run
This file contains 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 Upload | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
upload_sources: | |
name: Upload Sources | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Copy translation file | |
run: cp Resources/translations/admin.en.json admin.en.json | |
- name: Download Crowdin CLI | |
run: curl "https://downloads.crowdin.com/cli/v3/crowdin-cli.zip" --output crowdin-cli.zip && unzip crowdin-cli.zip | |
- name: Upload translations to crowdin | |
env: | |
CROWDIN_TOKEN: ${{ secrets.CrowdinToken }} | |
run: java -jar $(find . -name crowdin-cli.jar) upload sources -s "admin.en.json" -t "admin.%two_letters_code%.json" -i 23 --base-url=https://sulu.crowdin.com --base-path=. --token=$CROWDIN_TOKEN |