Skip to content

Commit 88d3e5b

Browse files
committed
updated actions
1 parent ed344f5 commit 88d3e5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/android-build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
distribution: 'zulu'
2121
java-version: '17'
2222

23+
# Updated to match your local Flutter version
2324
- name: Setup Flutter
2425
uses: subosito/flutter-action@v2
2526
with:
26-
flutter-version: '3.16.x'
27+
flutter-version: '3.27.1'
2728
channel: 'stable'
2829
cache: true
2930

@@ -39,9 +40,10 @@ jobs:
3940
- name: Build APK
4041
run: flutter build apk --release
4142

42-
# Changed from actions/upload-artifact@v3 to a direct upload approach
43+
# Fixed the deprecated set-output command
4344
- name: Upload APK
45+
id: upload
4446
run: |
4547
mkdir -p ${{ github.workspace }}/artifacts
4648
cp build/app/outputs/flutter-apk/app-release.apk ${{ github.workspace }}/artifacts/
47-
echo "::set-output name=artifact_path::${{ github.workspace }}/artifacts/app-release.apk"
49+
echo "artifact_path=${{ github.workspace }}/artifacts/app-release.apk" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)