Skip to content

Commit

Permalink
Merge pull request #249 from trimble-oss/fix-ci
Browse files Browse the repository at this point in the history
Update ci.yaml
  • Loading branch information
rthanga1 authored Sep 14, 2023
2 parents 2ed814b + d458198 commit b595976
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ env:
jobs:

build:
runs-on: ubuntu-latest
runs-on: macos-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup .NET 6
- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
include-prerelease: true

- uses: actions/setup-java@v3
Expand All @@ -42,9 +42,11 @@ jobs:
dotnet workload install android --ignore-failed-sources
dotnet workload install maui-android --ignore-failed-sources
dotnet workload install maui-tizen --ignore-failed-sources
dotnet workload install maui-ios
dotnet workload install maccatalyst
- name: Restore Dependencies
run: dotnet restore ./dotnet/src/Modus.sln
run: dotnet restore Trimble.Modus.Components.sln

- name: Build MAUI Android
run: dotnet build ./dotnet/src/Modus.sln -f net6.0 -c Release --no-restore
run: dotnet build Trimble.Modus.Components.sln -f net7.0-android -c Release --no-restore

0 comments on commit b595976

Please sign in to comment.