ci: Fix permission not given to Slang

This commit is contained in:
Pun Butrach 2024-08-27 21:09:33 +07:00 committed by GitHub
parent f2931443d9
commit 61251deffa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,16 +50,13 @@ jobs:
- 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
- name: Remove empty values of Translation & Validation of Translation Strings
run: |
cd assets/i18n
sudo chmod 777 *.json
dart nuke.dart >> $GITHUB_STEP_SUMMARY
cd ../..
dart run slang
flutter analyze lib/gen/strings.g.dart --no-fatal-infos --no-fatal-warnings