Skip to content

Commit 00e02c2

Browse files
authored
Update dart.yml
1 parent 014b1de commit 00e02c2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/dart.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ name: Flutter Android Build & Upload
88
# Define environment variables for easy modification
99
env:
1010
# The name of your main Flutter project module (usually 'app' for Flutter)
11-
MAIN_PROJECT_MODULE: quit
12-
# A general descriptor for the build context (e.g., 'GitHub-Release', 'CI-Build')
11+
MAIN_PROJECT_MODULE: app
1312
BUILD_CONTEXT_NAME: GitHub-Release
1413

1514
on:
@@ -48,7 +47,7 @@ jobs:
4847
- name: Setup Flutter SDK
4948
uses: subosito/flutter-action@v2 # Using a dedicated Flutter setup action
5049
with:
51-
flutter-version: 'stable'
50+
flutter-version: '3.22.0' # Changed to a specific stable version to resolve the "Unable to determine Flutter version" error
5251
channel: 'stable' # Or 'beta', 'dev' depending on your needs
5352
cache: true # Enable caching for Flutter dependencies
5453

0 commit comments

Comments
 (0)