Skip to content

Commit a12cfa3

Browse files
committed
Fixed the workflow issue.
When merging this commit, it should solve the issue of furthur PR's from having the same issue. If they have updated their fork to the latest
1 parent 20d3c63 commit a12cfa3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/flutterci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,34 @@ jobs:
1717
steps:
1818
# Step 1: Checkout the repository
1919
- uses: actions/checkout@v2
20-
20+
2121
# Step 2: Setup Java with version 12.x
2222
- uses: actions/setup-java@v1
2323
with:
24-
java-version: '12.x'
25-
24+
java-version: "12.x"
25+
2626
# Step 3: Setup Flutter with version 3.7.11
2727
- uses: subosito/flutter-action@v1
2828
with:
29-
flutter-version: '3.22.1'
30-
29+
flutter-version: "3.22.1"
30+
3131
# Step 4: Get dependencies using pub get
3232
- run: flutter pub get
33-
33+
3434
# Step 5: Analyze the code using flutter analyze
3535
- run: flutter analyze
36-
36+
3737
# Step 6: Format the code using flutter format (uncomment if needed)
3838
# - run: flutter format -n --set-exit-if-changed .
39-
39+
4040
# Step 7: Run tests using flutter test
4141
- run: flutter test
42-
42+
4343
# Step 8: Build APK using flutter build apk
4444
- run: flutter build apk
45-
45+
4646
# Step 9: Upload the built APK as an artifact
47-
- uses: actions/upload-artifact@v3
47+
- uses: actions/upload-artifact@v4
4848
with:
4949
name: release-apk
5050
path: build/app/outputs/apk/release/app-release.apk

0 commit comments

Comments
 (0)