Skip to content

Commit

Permalink
ci: Run nuke in correct steps
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube authored Aug 27, 2024
1 parent 61251de commit 5d612fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/sync_crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d612fe

Please sign in to comment.