Skip to content

chore(deps-actions): bump actions/checkout from 3 to 6 #15

chore(deps-actions): bump actions/checkout from 3 to 6

chore(deps-actions): bump actions/checkout from 3 to 6 #15

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-2019
steps:
- name: Checkout repository
uses: actions/checkout@v6
# Setup MSBuild for .NET Framework project
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
# 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