From 3bb2b20141304df3a9614694455e72d33ff3312d Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 7 May 2023 15:35:26 +0200 Subject: [PATCH] Fix api build --- .github/workflows/platform_natives.yaml | 4 ++-- .github/workflows/tdapi_file.yaml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/platform_natives.yaml b/.github/workflows/platform_natives.yaml index a16bf60..c46f0c0 100644 --- a/.github/workflows/platform_natives.yaml +++ b/.github/workflows/platform_natives.yaml @@ -125,13 +125,13 @@ jobs: if: matrix.os == 'ubuntu-20.04' uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-10 libc++-dev libc++abi-dev + packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-10 libc++-dev libc++abi-dev ccache version: 1.0 - name: Install ubuntu 22.04 dependencies if: matrix.os == 'ubuntu-22.04' uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-14 libc++-dev libc++abi-dev + packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-14 libc++-dev libc++abi-dev ccache version: 1.0 - name: Install MSVC if: matrix.os == 'windows-2019' diff --git a/.github/workflows/tdapi_file.yaml b/.github/workflows/tdapi_file.yaml index aa9777d..7d4e30f 100644 --- a/.github/workflows/tdapi_file.yaml +++ b/.github/workflows/tdapi_file.yaml @@ -11,15 +11,15 @@ jobs: strategy: matrix: include: - - {os: ubuntu-20.04, arch: "linux/amd64", implementation: "tdlight"} + - {os: ubuntu-22.04, arch: "linux/amd64", implementation: "tdlight"} runs-on: ${{ matrix.os }} steps: - - name: Install sudo package - if: runner.os == 'Linux' - run: | - (apt-get update || true) 2>/dev/null - (apt-get install -y sudo || true) 2>/dev/null - sudo apt update + - name: Install ubuntu 22.04 dependencies + if: matrix.os == 'ubuntu-22.04' + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: sudo make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-14 libc++-dev libc++abi-dev + version: 1.0 - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: