From 666f92d6bd98ae1965a9da75760df4b79a74b3f7 Mon Sep 17 00:00:00 2001 From: Jean-Emmanuel BAILLAT Date: Mon, 26 Oct 2026 23:00:06 +0100 Subject: [PATCH 1/2] ci: pin ubuntu-24.04 and the 10.0.203 Android toolchain ubuntu-latest now resolves to ubuntu-26.04, where the android workload install fails with "Disk quota exceeded". Pin the last known-good image and install SDK and workload set 10.0.203 so the published package does not drift with the runner image. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54a1960..77cc261 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,19 +9,20 @@ permissions: jobs: build_pack_android: - runs-on: ubuntu-latest + # Pinned: on ubuntu-26.04 (ubuntu-latest since Oct 2026) the android workload install fails with "Disk quota exceeded". + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: "10.0.x" + dotnet-version: "10.0.203" - uses: actions/setup-java@v4 with: distribution: microsoft java-version: "21" - uses: android-actions/setup-android@v3 - name: Install Android workload - run: dotnet workload install android + run: dotnet workload install android --version 10.0.203 - name: Build pinned Core + Share wrapper run: bash src/Kapusch.TikTokApisForAndroidComponents/Native/Android/build.sh - name: Pack diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index df20a2c..eafa0d7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,8 @@ permissions: jobs: pack_and_publish: - runs-on: ubuntu-latest + # Pinned: on ubuntu-26.04 (ubuntu-latest since Oct 2026) the android workload install fails with "Disk quota exceeded". + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -60,7 +61,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: "10.0.x" + dotnet-version: "10.0.203" - uses: actions/setup-java@v4 with: @@ -70,7 +71,7 @@ jobs: - uses: android-actions/setup-android@v3 - name: Install Android workload - run: dotnet workload install android + run: dotnet workload install android --version 10.0.203 - name: Build pinned Core + Share wrapper run: bash src/Kapusch.TikTokApisForAndroidComponents/Native/Android/build.sh From 1db8a5df625d65ebb3874a9b1baf143cbecdc667 Mon Sep 17 00:00:00 2001 From: Jean-Emmanuel BAILLAT Date: Mon, 26 Oct 2026 23:04:41 +0100 Subject: [PATCH 2/2] ci: pin setup-android v4 with platform-tools only On ubuntu-24.04, setup-android v3 asks sdkmanager for the default 'tools' package, which no longer exists, and the job fails. Use the same cmdline-tools and package set as the consuming app pipelines. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 6 +++++- .github/workflows/publish.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77cc261..eeae92b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,11 @@ jobs: with: distribution: microsoft java-version: "21" - - uses: android-actions/setup-android@v3 + - uses: android-actions/setup-android@v4 + with: + # Pinned like the consuming app: the default 'tools' package no longer exists. + cmdline-tools-version: '12266719' + packages: 'platform-tools' - name: Install Android workload run: dotnet workload install android --version 10.0.203 - name: Build pinned Core + Share wrapper diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eafa0d7..751ff55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,7 +68,11 @@ jobs: distribution: microsoft java-version: "21" - - uses: android-actions/setup-android@v3 + - uses: android-actions/setup-android@v4 + with: + # Pinned like the consuming app: the default 'tools' package no longer exists. + cmdline-tools-version: '12266719' + packages: 'platform-tools' - name: Install Android workload run: dotnet workload install android --version 10.0.203