4545 java-version : ' 17'
4646 distribution : ' temurin'
4747 - run : flutter build apk --release
48- - uses : actions/upload-artifact@v3
48+ - uses : actions/upload-artifact@v4
4949 with :
5050 name : android-apk
5151 path : build/app/outputs/flutter-apk/app-release.apk
6060 with :
6161 flutter-version : ${{ env.FLUTTER_VERSION }}
6262 - run : flutter build ios --release --no-codesign
63- - uses : actions/upload-artifact@v3
63+ - uses : actions/upload-artifact@v4
6464 with :
6565 name : ios-app
6666 path : build/ios/Release
7575 with :
7676 flutter-version : ${{ env.FLUTTER_VERSION }}
7777 - run : flutter build macos --release
78- - uses : actions/upload-artifact@v3
78+ - uses : actions/upload-artifact@v4
7979 with :
8080 name : macos-app
8181 path : build/macos/Build/Products/Release
9090 with :
9191 flutter-version : ${{ env.FLUTTER_VERSION }}
9292 - run : flutter build windows --release
93- - uses : actions/upload-artifact@v3
93+ - uses : actions/upload-artifact@v4
9494 with :
9595 name : windows-app
9696 path : build/windows/runner/Release
@@ -107,7 +107,7 @@ jobs:
107107 - run : |
108108 sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev
109109 flutter build linux --release
110- - uses : actions/upload-artifact@v3
110+ - uses : actions/upload-artifact@v4
111111 with :
112112 name : linux-app
113113 path : build/linux/x64/release/bundle
@@ -118,7 +118,7 @@ jobs:
118118 runs-on : ubuntu-latest
119119 if : github.event_name == 'push' && contains(github.ref, 'tags')
120120 steps :
121- - uses : actions/download-artifact@v3
121+ - uses : actions/download-artifact@v4
122122 with :
123123 path : artifacts
124124 - uses : softprops/action-gh-release@v1
0 commit comments