1515 os : [ubuntu-latest]
1616
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 - uses : subosito/flutter-action@v2
2020 with :
2121 channel : ' stable'
2828 runs-on : ubuntu-latest
2929
3030 steps :
31- - uses : actions/checkout@v3
31+ - uses : actions/checkout@v4
3232 - uses : subosito/flutter-action@v2
3333 with :
3434 channel : ' stable'
4040 - run : flutter pub get
4141 - run : flutter build linux
4242 - name : Archive Linux build
43- uses : actions/upload-artifact@v3
43+ uses : actions/upload-artifact@v4
4444 with :
4545 name : linux-build
4646 path : build/linux/x64/release/bundle
@@ -51,18 +51,18 @@ jobs:
5151 runs-on : ubuntu-latest
5252
5353 steps :
54- - uses : actions/checkout@v3
55- - uses : actions/setup-java@v2
54+ - uses : actions/checkout@v4
55+ - uses : actions/setup-java@v4
5656 with :
5757 distribution : ' zulu'
58- java-version : ' 11 '
58+ java-version : ' 17 '
5959 - uses : subosito/flutter-action@v2
6060 with :
6161 channel : ' stable'
6262 - run : flutter pub get
6363 - run : flutter build apk
6464 - name : Archive Android build
65- uses : actions/upload-artifact@v3
65+ uses : actions/upload-artifact@v4
6666 with :
6767 name : android-build
6868 path : build/app/outputs/flutter-apk/app-release.apk
@@ -73,14 +73,14 @@ jobs:
7373 runs-on : macos-latest
7474
7575 steps :
76- - uses : actions/checkout@v3
76+ - uses : actions/checkout@v4
7777 - uses : subosito/flutter-action@v2
7878 with :
7979 channel : ' stable'
8080 - run : flutter pub get
8181 - run : flutter build ios --release --no-codesign
8282 - name : Archive iOS build
83- uses : actions/upload-artifact@v3
83+ uses : actions/upload-artifact@v4
8484 with :
8585 name : ios-build
8686 path : build/ios/iphoneos
0 commit comments