aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/sync_crowdin.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-17 10:13:04 +0530
committerGitHub <noreply@github.com>2022-02-17 04:43:04 +0000
commitc9992a64fc2ab1f137b08709b8090fab33fc5cf8 (patch)
tree5933e8d5a785841319795dce623fad9a6956aee4 /.github/workflows/sync_crowdin.yml
parentc83ce481967a03a96a4717ed33c3d1643138c68e (diff)
Turn on Configuration Cache (#1733)
Diffstat (limited to '.github/workflows/sync_crowdin.yml')
-rw-r--r--.github/workflows/sync_crowdin.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml
index 49fb1749..0d571489 100644
--- a/.github/workflows/sync_crowdin.yml
+++ b/.github/workflows/sync_crowdin.yml
@@ -12,14 +12,16 @@ jobs:
uses: actions/checkout@v2.4.0
- name: Set up JDK
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Download new translations from Crowdin
- run: ./gradlew crowdin
+ uses: gradle/gradle-build-action@v2.1.3
+ with:
+ arguments: --no-configuration-cache crowdin
env:
CROWDIN_LOGIN: ${{ secrets.CROWDIN_LOGIN }}
CROWDIN_PROJECT_KEY: ${{ secrets.CROWDIN_PROJECT_KEY }}