From 8a047f0d05fe030565696009e24e7632be59d4a3 Mon Sep 17 00:00:00 2001 From: minhdanh Date: Sat, 24 Aug 2024 13:23:47 +0700 Subject: [PATCH] Fix CI build error --- .github/workflows/dart.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index d1d903ae..1ed724c5 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -15,6 +15,11 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: stable + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: 17 - name: Enable Linux for flutter run: flutter config --enable-linux-desktop - name: Update repo @@ -81,6 +86,11 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: master + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: 17 - name: Enable Linux for flutter run: flutter config --enable-linux-desktop - name: Update repo