From 5d612fe7906012b74be47af3878039c4ba9e70ba Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Tue, 27 Aug 2024 21:11:52 +0700 Subject: [PATCH] ci: Run nuke in correct steps --- .github/workflows/sync_crowdin.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml index 7791a33802..fb6aafe0d4 100644 --- a/.github/workflows/sync_crowdin.yml +++ b/.github/workflows/sync_crowdin.yml @@ -47,16 +47,19 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} + # There has to be a better way to do this - name: Normalization of Translation Strings run: | dart pub get cd assets/i18n sudo chmod 766 *.json - dart nuke.dart >> $GITHUB_STEP_SUMMARY cd ../.. dart run slang analyze dart run slang clean dart run slang normalize + cd assets/i18n + dart nuke.dart >> $GITHUB_STEP_SUMMARY + cd ../.. dart run slang flutter analyze lib/gen/strings.g.dart --no-fatal-infos --no-fatal-warnings