Skip to content

Bump microsoft/setup-msbuild from 1 to 2 #285

Bump microsoft/setup-msbuild from 1 to 2

Bump microsoft/setup-msbuild from 1 to 2 #285

name: Build .NET Framework App
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- name: Restore NuGet packages
run: nuget restore Aptor.sln
- name: Build solution
run: msbuild Aptor.sln /p:Configuration=Release /p:DeployOnBuild=true
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: order-management-system-artifact
path: Aptor\obj\Release\Package