Skip to content

Build and Test

Build and Test #5

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
DOTNETVERSION: 6.0.300
jobs:
build:
runs-on: windows-2022
env:
Solution_Path: Sample\Auth0MauiApp.sln
steps:
- uses: actions/checkout@v3
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Install .NET Workloads
run: dotnet workload install maui
- name: Install dependencies
run: dotnet restore $env:Solution_Path
- name: Build
run: dotnet build $env:Solution_Path --configuration Release --no-restore