-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Description
Tried to run our publish pipe and it failed on error:
Run dotnet workload install android maui --ignore-failed-sources
Checking for updated workload version.
Installing workload version 10.0.103.
Installing workload manifest microsoft.net.workload.emscripten.current version 10.0.103...
Installing workload manifest microsoft.net.workload.emscripten.net6 version 10.0.103...
Installing workload manifest microsoft.net.workload.emscripten.net7 version 10.0.103...
Installing workload manifest microsoft.net.workload.emscripten.net8 version 10.0.103...
Installing workload manifest microsoft.net.workload.emscripten.net9 version 10.0.103...
Installing workload manifest microsoft.net.sdk.android version 36.1.30...
Installing workload manifest microsoft.net.sdk.ios version 26.2.10197...
Installing workload manifest microsoft.net.sdk.maccatalyst version 26.2.10197...
Installing workload manifest microsoft.net.sdk.macos version 26.2.10197...
Workload installation failed: Failed to install manifest microsoft.net.sdk.maui version 10.0.20: Version 10.0.20 of package microsoft.net.sdk.maui.manifest-10.0.100 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages..
Installing workload manifest microsoft.net.sdk.maui version 10.0.20...
Workload installation failed. Rolling back installed packs...
Installation rollback failed: Workload manifest microsoft.net.workload.emscripten.current: 10.0.103/10.0.100 from workload version 10.0.103 was not installed. Running "dotnet workload repair" may resolve this.
Error: Process completed with exit code 1.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- Ubuntu Slim
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- macOS 26
- macOS 26 Arm64
- Windows Server 2022
- Windows Server 2025
- Windows Server 2025 with Visual Studio 2026
Image version and build link
Current runner version: '2.331.0'
Runner Image Provisioner
Hosted Compute Agent
Version: 20260123.484
Commit: 6bd6555ca37d84114959e1c76d2c01448ff61c5d
Build Date: 2026-01-23T19:41:17Z
Worker ID: {c8ba2af7-721b-43e1-80b9-df0d33db39a8}
Azure Region: eastus2
Operating System
Microsoft Windows Server 2025
10.0.26100
Datacenter
Runner Image
Image: windows-2025
Version: 20260202.17.1
Included Software: https://github.com/actions/runner-images/blob/win25/20260202.17/images/windows/Windows2025-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/win25%2F20260202.17
GITHUB_TOKEN Permissions
Actions: write
ArtifactMetadata: write
Attestations: write
Checks: write
Contents: write
Deployments: write
Discussions: write
Issues: write
Metadata: read
Models: read
Packages: write
Pages: write
PullRequests: write
RepositoryProjects: write
SecurityEvents: write
Statuses: write
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5)
Download action repository 'actions/setup-dotnet@v4' (SHA:67a3573c9a986a3f9c594539f4ab511d57bb3ce9)
Download action repository 'actions/setup-java@v4' (SHA:c1e323688fd81a25caa38c78aa6df2d33d3e20d9)
Complete job name: build-android
Is it regression?
https://github.com/horecon/mobile/actions/runs/21360989572
Expected behavior
NET workload installation should succeed
Actual behavior
it fails
Repro steps
Our pipeline
name: Android Build & Publish
on:
workflow_dispatch:
permissions:
contents: write
issues: write
pull-requests: write
env:
DOTNET_SDK_VERSION: '10.0.102'
JAVA_VERSION: '17'
PROJECT_PATH: 'src/Horecon/Horecon.csproj'
jobs:
version:
uses: ./.github/workflows/version.yml
secrets: inherit
build-android:
needs: version
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_SDK_VERSION }}
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: ${{ env.JAVA_VERSION }}
- name: Install MAUI workloads
run: dotnet workload install android maui --ignore-failed-sources
- name: Restore dependencies
run: dotnet restore ${{ env.PROJECT_PATH }}
- name: Build Android APK
run: |
dotnet publish ${{ env.PROJECT_PATH }} `
-f net10.0-android `
-c Release `
-p:AndroidPackageFormat=apk `
-p:ApplicationDisplayVersion=${{ needs.version.outputs.version }} `
-o ./artifacts/android
- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: android-apk-${{ needs.version.outputs.version }}
path: ./artifacts/android/*.apk
- name: Upload APK to GitHub Release
if: needs.version.outputs.released == 'true'
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ needs.version.outputs.version }}
files: ./artifacts/android/*.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}