From d9f45fac677ccc7cab0a14de1a83b0fdcce804f7 Mon Sep 17 00:00:00 2001 From: Caner Karaca <37447503+CanerKaraca23@users.noreply.github.com> Date: Fri, 24 May 2024 17:20:48 +0000 Subject: [PATCH] Update Workflows --- .github/workflows/build-debug-kernel.yml | 31 +++++++++++++---- .github/workflows/build-kernel-a12.yml | 14 +++----- .github/workflows/build-kernel-a13.yml | 43 +++++------------------- .github/workflows/build-kernel-a14.yml | 9 ++--- .github/workflows/build-lkm.yml | 20 +++++------ .github/workflows/build-manager.yml | 2 +- 6 files changed, 50 insertions(+), 69 deletions(-) diff --git a/.github/workflows/build-debug-kernel.yml b/.github/workflows/build-debug-kernel.yml index 5e0630e7c137..a0cab91b2238 100644 --- a/.github/workflows/build-debug-kernel.yml +++ b/.github/workflows/build-debug-kernel.yml @@ -7,9 +7,9 @@ jobs: uses: ./.github/workflows/gki-kernel.yml with: version: android12-5.10 - version_name: android12-5.10.185 - tag: android12-5.10-2023-09 - os_patch_level: 2023-09 + version_name: android12-5.10.209 + tag: android12-5.10-2024-05 + os_patch_level: 2024-05 patch_path: "5.10" debug: true build-debug-kernel-a13: @@ -17,11 +17,11 @@ jobs: matrix: include: - version: "5.10" - sub_level: 187 - os_patch_level: 2023-08 + sub_level: 209 + os_patch_level: 2024-05 - version: "5.15" - sub_level: 119 - os_patch_level: 2023-09 + sub_level: 148 + os_patch_level: 2024-05 uses: ./.github/workflows/gki-kernel.yml with: version: android13-${{ matrix.version }} @@ -29,3 +29,20 @@ jobs: tag: android13-${{ matrix.version }}-${{ matrix.os_patch_level }} patch_path: ${{ matrix.version }} debug: true + build-debug-kernel-a14: + strategy: + matrix: + include: + - version: "5.15" + sub_level: 148 + os_patch_level: 2024-05 + - version: "6.1" + sub_level: 75 + os_patch_level: 2024-05 + uses: ./.github/workflows/gki-kernel.yml + with: + version: android14-${{ matrix.version }} + version_name: android14-${{ matrix.version }}.${{ matrix.sub_level }} + tag: android14-${{ matrix.version }}-${{ matrix.os_patch_level }} + patch_path: ${{ matrix.version }} + debug: true \ No newline at end of file diff --git a/.github/workflows/build-kernel-a12.yml b/.github/workflows/build-kernel-a12.yml index 8225355c9925..89f9c984dc36 100644 --- a/.github/workflows/build-kernel-a12.yml +++ b/.github/workflows/build-kernel-a12.yml @@ -21,12 +21,6 @@ jobs: strategy: matrix: include: - - sub_level: 168 - os_patch_level: 2023-05 - - sub_level: 177 - os_patch_level: 2023-07 - - sub_level: 185 - os_patch_level: 2023-09 - sub_level: 198 os_patch_level: 2024-01 - sub_level: 205 @@ -73,7 +67,7 @@ jobs: git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 - pip3 install telethon==1.34.0 + pip3 install telethon - name: Set boot sign key env: @@ -118,7 +112,7 @@ jobs: uses: ./.github/workflows/gki-kernel.yml with: version: android12-5.10 - version_name: android12-5.10.205 - tag: android12-5.10-2024-03 - os_patch_level: 2024-03 + version_name: android12-5.10.209 + tag: android12-5.10-2024-05 + os_patch_level: 2024-05 patch_path: "5.10" \ No newline at end of file diff --git a/.github/workflows/build-kernel-a13.yml b/.github/workflows/build-kernel-a13.yml index 4adf04ad1d04..9390b48e7f6f 100644 --- a/.github/workflows/build-kernel-a13.yml +++ b/.github/workflows/build-kernel-a13.yml @@ -21,51 +21,24 @@ jobs: strategy: matrix: include: - - version: "5.10" - sub_level: 168 - os_patch_level: 2023-05 - - version: "5.10" - sub_level: 177 - os_patch_level: 2023-07 - - version: "5.10" - sub_level: 177 - os_patch_level: 2024-02 - - version: "5.10" - sub_level: 186 - os_patch_level: 2023-08 - - version: "5.10" - sub_level: 186 - os_patch_level: 2023-09 - version: "5.10" sub_level: 189 os_patch_level: 2023-11 - version: "5.10" sub_level: 198 - os_patch_level: 2023-12 - - version: "5.10" - sub_level: 205 - os_patch_level: 2024-02 + os_patch_level: 2024-01 - version: "5.10" sub_level: 205 os_patch_level: 2024-03 - version: "5.10" sub_level: 209 os_patch_level: 2024-05 - - version: "5.15" - sub_level: 94 - os_patch_level: 2023-05 - - version: "5.15" - sub_level: 104 - os_patch_level: 2023-07 - - version: "5.15" - sub_level: 119 - os_patch_level: 2023-09 - version: "5.15" sub_level: 123 os_patch_level: 2023-11 - version: "5.15" sub_level: 137 - os_patch_level: 2023-12 + os_patch_level: 2024-01 - version: "5.15" sub_level: 144 os_patch_level: 2024-03 @@ -112,7 +85,7 @@ jobs: git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 - pip3 install telethon==1.34.0 + pip3 install telethon - name: Set boot sign key env: @@ -158,15 +131,15 @@ jobs: matrix: include: - version: "5.10" - sub_level: 189 - os_patch_level: 2023-10 + sub_level: 209 + os_patch_level: 2024-05 - version: "5.15" - sub_level: 123 - os_patch_level: 2023-10 + sub_level: 148 + os_patch_level: 2024-05 uses: ./.github/workflows/gki-kernel.yml with: version: android13-${{ matrix.version }} version_name: android13-${{ matrix.version }}.${{ matrix.sub_level }} tag: android13-${{ matrix.version }}-${{ matrix.os_patch_level }} os_patch_level: ${{ matrix.os_patch_level }} - patch_path: ${{ matrix.version }} + patch_path: ${{ matrix.version }} \ No newline at end of file diff --git a/.github/workflows/build-kernel-a14.yml b/.github/workflows/build-kernel-a14.yml index 7cb1b13fc992..a06f02b1f732 100644 --- a/.github/workflows/build-kernel-a14.yml +++ b/.github/workflows/build-kernel-a14.yml @@ -21,9 +21,6 @@ jobs: strategy: matrix: include: - - version: "5.15" - sub_level: 110 - os_patch_level: 2023-09 - version: "5.15" sub_level: 131 os_patch_level: 2023-11 @@ -91,7 +88,7 @@ jobs: git clone $AOSP_MIRROR/platform/prebuilts/build-tools -b $BRANCH --depth 1 build-tools git clone $AOSP_MIRROR/kernel/prebuilts/build-tools -b $BRANCH --depth 1 kernel-build-tools git clone $AOSP_MIRROR/platform/system/tools/mkbootimg -b $BRANCH --depth 1 - pip3 install telethon==1.34.0 + pip3 install telethon - name: Set boot sign key env: @@ -137,8 +134,8 @@ jobs: matrix: include: - version: "5.15" - sub_level: 110 - os_patch_level: 2023-09 + sub_level: 148 + os_patch_level: 2024-05 - version: "6.1" sub_level: 75 os_patch_level: 2024-05 diff --git a/.github/workflows/build-lkm.yml b/.github/workflows/build-lkm.yml index 8f207ce9d1b1..5a14ce1b4826 100644 --- a/.github/workflows/build-lkm.yml +++ b/.github/workflows/build-lkm.yml @@ -15,20 +15,20 @@ jobs: matrix: include: - version: "android12-5.10" - sub_level: 198 - os_patch_level: "2024-01" + sub_level: 209 + os_patch_level: 2024-05 - version: "android13-5.10" - sub_level: 198 - os_patch_level: 2023-12 + sub_level: 209 + os_patch_level: 2024-05 - version: "android13-5.15" - sub_level: 137 - os_patch_level: 2023-12 + sub_level: 148 + os_patch_level: 2024-05 - version: "android14-5.15" - sub_level: 110 - os_patch_level: 2023-09 + sub_level: 148 + os_patch_level: 2024-05 - version: "android14-6.1" - sub_level: 43 - os_patch_level: 2023-11 + sub_level: 75 + os_patch_level: 2024-05 uses: ./.github/workflows/gki-kernel.yml with: version: ${{ matrix.version }} diff --git a/.github/workflows/build-manager.yml b/.github/workflows/build-manager.yml index 8be2f7a957d4..b5013641c661 100644 --- a/.github/workflows/build-manager.yml +++ b/.github/workflows/build-manager.yml @@ -155,6 +155,6 @@ jobs: if [ ! -z "${{ secrets.BOT_TOKEN }}" ]; then export VERSION=$(git rev-list --count HEAD) APK=$(find ./app/build/outputs/apk/release -name "*.apk") - pip3 install telethon==1.34.0 + pip3 install telethon python3 $GITHUB_WORKSPACE/scripts/ksubot.py $APK fi \ No newline at end of file