From a655e02b37f4bf846b4008344974dafddaa3dc79 Mon Sep 17 00:00:00 2001 From: Sivan Ratson <89018301+Sivan22@users.noreply.github.com> Date: Thu, 5 Sep 2024 06:53:42 +0300 Subject: [PATCH] Update flutter.yml --- .github/workflows/flutter.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index c476c14c..6d101db9 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -34,8 +34,15 @@ jobs: cache: true - run: | sudo apt-get update -y - sudo apt-get install -y ninja-build libgtk-3-dev + sudo apt-get install -y ninja-build libgtk-3-0 libblkid1 liblzma5 - run: flutter build linux + - name: zip the bundle + - run: zip -r otzaria-linux.zip build/linux/release/bundle + - name: Upload linux build + uses: actions/upload-artifact@v4 + with: + name: otzaria-linux.zip + path: otzaria-linux.zip build_android: @@ -52,6 +59,11 @@ jobs: - run: flutter test - run: flutter build apk - run: flutter build appbundle + - name: Upload apk + uses: actions/upload-artifact@v4 + with: + name: otzaria-android.apk + path: build/app/outputs/flutter-apk/app-release.apk build_macos: runs-on: macos-latest @@ -64,6 +76,13 @@ jobs: channel: stable cache: true - run: flutter build macos + - name: Upload macos build + uses: actions/upload-artifact@v4 + with: + name: otzaria-macos.app + path: build/macos/Build/Products/Release/otzaria.app + + build_ios: runs-on: macos-latest @@ -78,6 +97,15 @@ jobs: - run: flutter pub get - run: flutter test - run: flutter build ios --release --no-codesign + - name: Upload iphone build + uses: actions/upload-artifact@v4 + with: + name: otzaria-iphone.app + path: build/ios/iphoneos/Runner.app + + + +