From 622c8c23b7ac629ded1d49015da83bc00552e9ad Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Tue, 30 Dec 2025 16:04:07 +0800 Subject: [PATCH] ci: add adroid workload. --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a546a11..ee4062e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -212,10 +212,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 + - name: Install Android workload + run: dotnet workload install android - name: Restore Dependencies run: dotnet restore demo/Semi.Avalonia.Demo.Android - name: Publish Android - run: dotnet publish demo/Semi.Avalonia.Demo.Android -c Release -f net9.0-android --no-restore -o publish /p:RuntimeIdentifier=android-arm64 + run: dotnet publish demo/Semi.Avalonia.Demo.Android -c Release -f net10.0-android --no-restore -o publish /p:RuntimeIdentifier=android-arm64 - name: Upload a Build Artifact uses: actions/upload-artifact@v4.6.2 with: