github: add environment variables to crowdin workflow

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-05-22 20:34:53 +05:30
parent 35571fcfba
commit 8c6297d56f
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -16,6 +16,10 @@ jobs:
- name: Download new translations from Crowdin
run: ./gradlew crowdin
env:
CROWDIN_LOGIN: ${{ secrets.CROWDIN_LOGIN }}
CROWDIN_PROJECT_KEY: ${{ secrets.CROWDIN_PROJECT_KEY }}
CROWDIN_PROJECT_IDENTIFIER: ${{ secrets.CROWDIN_PROJECT_IDENTIFIER }}
- name: Compare list changes
run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi