Skip to content

Commit 622c8c2

Browse files
committed
ci: add adroid workload.
1 parent 104ba2f commit 622c8c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,12 @@ jobs:
212212
steps:
213213
- name: Checkout
214214
uses: actions/checkout@v5
215+
- name: Install Android workload
216+
run: dotnet workload install android
215217
- name: Restore Dependencies
216218
run: dotnet restore demo/Semi.Avalonia.Demo.Android
217219
- name: Publish Android
218-
run: dotnet publish demo/Semi.Avalonia.Demo.Android -c Release -f net9.0-android --no-restore -o publish /p:RuntimeIdentifier=android-arm64
220+
run: dotnet publish demo/Semi.Avalonia.Demo.Android -c Release -f net10.0-android --no-restore -o publish /p:RuntimeIdentifier=android-arm64
219221
- name: Upload a Build Artifact
220222
uses: actions/upload-artifact@v4.6.2
221223
with:

0 commit comments

Comments
 (0)