File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments