Skip to content

Merge pull request #121 from microsoftgraph/dependabot/github_actions… #127

Merge pull request #121 from microsoftgraph/dependabot/github_actions…

Merge pull request #121 from microsoftgraph/dependabot/github_actions… #127

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
defaults:
run:
working-directory: GraphMAUI/
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Install workloads
run: |
dotnet workload install android
dotnet workload install ios
dotnet workload install maui
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore