From 448b4910d1d58a963bc6aba69fccc62c14b1d755 Mon Sep 17 00:00:00 2001 From: Jean-Emmanuel BAILLAT Date: Mon, 26 Oct 2026 23:00:01 +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 ++++--- .github/workflows/sample-android.yml | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f97f0b9..81a4dfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,14 @@ 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" - name: Validate feature selection run: bash tests/validate-feature-selection.sh @@ -30,7 +31,7 @@ jobs: - name: Install Android workload run: | - dotnet workload install android + dotnet workload install android --version 10.0.203 - name: Cache NuGet uses: actions/cache@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9c92ce..a283783 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 @@ -69,7 +70,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: "10.0.x" + dotnet-version: "10.0.203" - name: Validate feature selection run: bash tests/validate-feature-selection.sh @@ -84,7 +85,7 @@ jobs: - name: Install Android workload run: | - dotnet workload install android + dotnet workload install android --version 10.0.203 - name: Cache NuGet uses: actions/cache@v4 diff --git a/.github/workflows/sample-android.yml b/.github/workflows/sample-android.yml index 46bfd80..a48b49c 100644 --- a/.github/workflows/sample-android.yml +++ b/.github/workflows/sample-android.yml @@ -8,13 +8,14 @@ permissions: jobs: build_android_sample: - 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: @@ -26,7 +27,7 @@ jobs: - name: Install Android workload run: | - dotnet workload install android + dotnet workload install android --version 10.0.203 - name: Cache NuGet uses: actions/cache@v4 From aa3dcae459c04148bf06a73be1d5e02dd833aafd Mon Sep 17 00:00:00 2001 From: Jean-Emmanuel BAILLAT Date: Mon, 26 Oct 2026 23:04:39 +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 +++++- .github/workflows/sample-android.yml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81a4dfd..b2ea1b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,11 @@ jobs: java-version: "21" - name: Setup Android SDK - 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: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a283783..8218a2a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,7 +81,11 @@ jobs: java-version: "21" - name: Setup Android SDK - 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: | diff --git a/.github/workflows/sample-android.yml b/.github/workflows/sample-android.yml index a48b49c..3c09242 100644 --- a/.github/workflows/sample-android.yml +++ b/.github/workflows/sample-android.yml @@ -23,7 +23,11 @@ jobs: java-version: "21" - name: Setup Android SDK - 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: |