From 406339eccdb3b50008308bcb1401136197ece06f Mon Sep 17 00:00:00 2001 From: Tal Regev Date: Fri, 17 Dec 2021 18:53:15 +0200 Subject: [PATCH] Fix linux dependencies in ci. --- .github/workflows/flutter-macos.yml | 2 +- .github/workflows/flutter-ubuntu.yml | 4 +++- .github/workflows/osx.yml | 3 ++- samples/flutter/boinc/android/app/build.gradle | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/flutter-macos.yml b/.github/workflows/flutter-macos.yml index 911643e04c..98b38e01ca 100644 --- a/.github/workflows/flutter-macos.yml +++ b/.github/workflows/flutter-macos.yml @@ -23,7 +23,7 @@ jobs: - name: Setup xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '12.2' + xcode-version: '12.5.1' - name: Setup flutter uses: subosito/flutter-action@v1 diff --git a/.github/workflows/flutter-ubuntu.yml b/.github/workflows/flutter-ubuntu.yml index d6e41ca78e..b9c7678d93 100644 --- a/.github/workflows/flutter-ubuntu.yml +++ b/.github/workflows/flutter-ubuntu.yml @@ -41,7 +41,9 @@ jobs: - name: Install linux dependencies if: matrix.type == 'linux' - run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev + run: | + sudo apt update + sudo apt install -y clang cmake ninja-build pkg-config libgtk-3-dev - name: Build linux client if: matrix.type == 'linux' diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 78f6d06bbb..e898604f1d 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -18,7 +18,8 @@ jobs: steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '12.2' + xcode-version: '12.5.1' + - uses: actions/checkout@v2 - name: Cache dependencies diff --git a/samples/flutter/boinc/android/app/build.gradle b/samples/flutter/boinc/android/app/build.gradle index e3641d1c79..3e283a1dfb 100644 --- a/samples/flutter/boinc/android/app/build.gradle +++ b/samples/flutter/boinc/android/app/build.gradle @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 30 + compileSdkVersion 31 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8