Skip to content

Add GitHub Actions integration #1

Add GitHub Actions integration

Add GitHub Actions integration #1

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
DOTNETVERSION: 6.0.300
jobs:
buildWindows:

Check failure on line 15 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
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