-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (29 loc) · 979 Bytes
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build Xamarin.Android
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
buildandroid:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- shell: bash
env:
NUGETPAT: ${{ secrets.NUGETPAT }}
run: |
nuget sources add -name "private-packages" -Source https://nuget.pkg.github.com/xamcat/index.json -StorePasswordInClearText -Username Sweekriti91 -Password $NUGETPAT
- name: Install dependencies
run: nuget restore XamCast.sln
- name: Build
run: msbuild XamCast.Android/XamCast.Android.csproj /t:PackageForAndroid /p:Configuration=Debug
- uses: actions/upload-artifact@v2
with:
name: my-artifact-android
path: XamCast.Android/bin/Debug/*.apk