Bump microsoft/setup-msbuild from 1 to 2 #285
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |