Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
selmaohneh authored Aug 25, 2023
1 parent f8ff9d3 commit fab532a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on: [push]
jobs:
build:

runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET
- name: Set default Xamarin SDK versions
run: |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.10 --android=10.2
- name: Setup .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install boots tool
run: dotnet tool install --global boots
- name: Install xamarin depdencies
run: boots
- name: Restore dependencies
run: dotnet restore
dotnet-version: '5.0.x'

- name: Install dependencies
run: nuget restore <sln_file_path>

- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: msbuild /t:PackageForAndroid /p:Configuration=Debug

0 comments on commit fab532a

Please sign in to comment.