From 0930b33d79639ab007c6aa64241853e815c0c028 Mon Sep 17 00:00:00 2001 From: Ahmed Elsayed Date: Thu, 16 May 2024 05:02:16 +0300 Subject: [PATCH] Update workflow --- .github/workflows/build.yml | 5 +++-- pubspec.yaml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 838e860..1617cb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,10 @@ jobs: uses: actions/checkout@v3 - name: Setup Flutter environment - uses: subosito/flutter-action@v2.10.0 + uses: subosito/flutter-action@v2 with: - channel: "stable" + channel: stable + flutter-version-file: pubspec.yaml # path to pubspec.yaml - name: Set environment paths run: | diff --git a/pubspec.yaml b/pubspec.yaml index 9dd1775..2dfc36e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,6 +3,7 @@ publish_to: "none" environment: sdk: ">=3.2.0 <4.0.0" + flutter: 3.16.0 dev_dependencies: flutter_lints: ^2.0.1