Skip to content

chore(deps-actions): bump NuGet/setup-nuget from 3.0.0 to 3.1.0 #40

chore(deps-actions): bump NuGet/setup-nuget from 3.0.0 to 3.1.0

chore(deps-actions): bump NuGet/setup-nuget from 3.0.0 to 3.1.0 #40

name: CI - Build MongoDB .NET Console App
on:
workflow_dispatch: # Allows manual trigger
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout repository
uses: actions/checkout@v6
# Setup MSBuild for .NET Framework project
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v3
- name: Setup NuGet
uses: NuGet/setup-nuget@v3.1.0
# Restore & Build .NET Framework project
- name: Restore NuGet Packages (.NET Framework)
run: nuget restore MongoDBConsoleApp/MongoDBConsoleApp.csproj -SolutionDirectory .
- name: Build .NET Framework Project
run: msbuild MongoDBConsoleApp/MongoDBConsoleApp.csproj /p:Configuration=Debug