Skip to content

Commit

Permalink
TW-1781: fix the ci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn committed May 22, 2024
1 parent 66cd62d commit ce76490
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
flutter config --enable-web
flutter clean
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter pub run build_runner build --delete-conflicting-outputs flutter pub get
flutter build web --release --verbose --source-maps --base-href="/${GITHUB_REPOSITORY##*/}/$FOLDER/"
echo "$TWAKE_PREVIEW_CONFIG" | yq '.issue_id = strenv(FOLDER)' > ./build/web/config.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Run widget test
run: |
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && flutter pub get
flutter test
# integration_test:
Expand Down
2 changes: 1 addition & 1 deletion scripts/code_analyze.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -ve
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs && flutter pub get
dart format --set-exit-if-changed lib/ test/
flutter analyze

0 comments on commit ce76490

Please sign in to comment.