Skip to content

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Setup Java SDK
uses: actions/setup-java@v2
with:
java-version: 17
- name: Setup NuGet.exe for use with actions
# You may pin to the exact commit or the version.
# uses: NuGet/setup-nuget@fd9fffd6ca4541cf4152a9565835ca1a88a6eb37
uses: NuGet/[email protected]
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: search workloads
run: dotnet workload search
- name: restore workloads
run: dotnet workload install maui maui-android maui-ios maui-maccatalyst maui-windows android --source https://api.nuget.org/v3/index.json
- name: list workloads
run: dotnet workload list
- name: Restore nuget packages
run: msbuild src\caliburn.micro.sln -t:restore
- name: Build app for release
run: msbuild src\caliburn.micro.sln /t:Build
- name: Dotnet Tests
# You may pin to the exact commit or the version.
# uses: EasyDesk/action-dotnet-test@228a60327933ff6200594e89a6fa906a69e5f1e6
uses: EasyDesk/[email protected]
with:

Check failure on line 54 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dotnet.yml

Invalid workflow file

You have an error in your yaml syntax on line 54
# Additional arguments to pass to 'dotnet test'.
test-args: --collect "Code coverage"