Skip to content

Commit

Permalink
⬆️ (flutter-web-deploy.yml): downgrade Flutter version to 3.16.9 for …
Browse files Browse the repository at this point in the history
…compatibility

📝 (flutter-web-deploy.yml): add verification step for Flutter and Dart versions to ensure correct setup
⬆️ (pubspec.yaml): update Dart SDK constraint to allow versions from 3.4.0 to 4.0.0 for better flexibility
  • Loading branch information
mariepop13 committed Jan 3, 2025
1 parent b0e5717 commit e69ede4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/flutter-web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.x'
flutter-version: '3.16.9'
channel: 'stable'

- name: Verify Flutter and Dart versions
run: |
flutter --version
dart --version
- name: Create .env file
run: |
echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" > .env
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1379,5 +1379,5 @@ packages:
source: hosted
version: "2.0.3"
sdks:
dart: ">=3.5.4 <4.0.0"
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ^3.5.4
sdk: '>=3.4.0 <4.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down

0 comments on commit e69ede4

Please sign in to comment.