From 9bbeb8b73a05ec3f09751a6589cc87ce651585d6 Mon Sep 17 00:00:00 2001 From: Max Rumpf Date: Thu, 12 Dec 2024 23:15:30 +0100 Subject: [PATCH] Also install CMake in publish workflow (#178) --- .github/workflows/extension-build.yaml | 2 +- .github/workflows/extension-publish.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/extension-build.yaml b/.github/workflows/extension-build.yaml index 2f18717..ccd9573 100644 --- a/.github/workflows/extension-build.yaml +++ b/.github/workflows/extension-build.yaml @@ -31,7 +31,7 @@ jobs: with: path: /usr/local/lib/android/sdk/ndk/${{ env.NDK_VER }} key: ${{ runner.os }}-${{ env.NDK_VER }} - - name: Install correct NDK + - name: Install correct NDK and CMake run: sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VER}" "cmake;${CMAKE_VER}" - name: Build ffmpeg run: ./build.sh diff --git a/.github/workflows/extension-publish.yaml b/.github/workflows/extension-publish.yaml index e7db9b8..b811a3e 100644 --- a/.github/workflows/extension-publish.yaml +++ b/.github/workflows/extension-publish.yaml @@ -9,6 +9,7 @@ on: env: NDK_VER: 26.1.10909125 + CMAKE_VER: 3.31.1 jobs: publish: @@ -33,8 +34,8 @@ jobs: with: path: /usr/local/lib/android/sdk/ndk/${{ env.NDK_VER }} key: ${{ runner.os }}-${{ env.NDK_VER }} - - name: Install correct NDK - run: sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VER}" + - name: Install correct NDK and CMake + run: sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VER}" "cmake;${CMAKE_VER}" - name: Build ffmpeg run: ./build.sh - name: Set JELLYFIN_VERSION