From 2093b1ed1bfc3b602a5119e129c827569d7bf5ac Mon Sep 17 00:00:00 2001 From: Sivan Ratson <89018301+Sivan22@users.noreply.github.com> Date: Sun, 17 Nov 2024 21:08:14 +0200 Subject: [PATCH] Update flutter.yml --- .github/workflows/flutter.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index 9c47c33c..34c46e3e 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -40,7 +40,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: otzaria-linux.zip - path: otzaria-linux.zip + path: build/linux/x64/release/bundle/otzaria-linux.zip build_android: runs-on: ubuntu-latest @@ -51,13 +51,7 @@ jobs: uses: subosito/flutter-action@v2 with: channel: stable - cache: true - - run: sudo apt install openjdk-18-jdk - - run: wget https://dl.google.com/dl/android/studio/ide-zips/2024.1.2.12/android-studio-2024.1.2.12-linux.tar.gz - - run: tar -zxvf android-studio-2024.1.2.12-linux.tar.gz - - run: sudo mv android-studio /opt/ - - run: sudo ln -sf /opt/android-studio/bin/studio.sh /bin/android-studio - - run: flutter doctor -v + cache: true - run: flutter pub get - run: flutter build apk - name: Upload apk