diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 90c1c4b..8af290d 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -65,6 +65,9 @@ jobs: - name: Download pub dependencies run: flutter pub get + + - name: Upgrade pub dependencies + run: flutter pub upgrade - name: Run build_runner run: flutter pub run build_runner build --delete-conflicting-outputs diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 328f622..7b654f8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,6 +54,9 @@ jobs: - name: Download pub dependencies run: flutter pub get + - name: Upgrade pub dependencies + run: flutter pub upgrade + - name: Run build_runner run: flutter pub run build_runner build --delete-conflicting-outputs