Adding Packages global and added nuget lib to fix restore. #4
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: Test Builds | |
on: | |
push: | |
branches: [ development ] | |
pull_request: | |
branches: [ development ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Restore Packages | |
run: msbuild XenAdmin.sln -t:restore | |
- name: Build Release solution | |
run: msbuild XenAdmin.sln -property:Configuration=Release | |
- name: Build Debug solution | |
run: msbuild XenAdmin.sln -property:Configuration=Debug | |
- name: Upload Release Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: drop-release | |
path: XenAdmin/bin/Release/net481 | |
- name: Upload Debug Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: drop-debug | |
path: XenAdmin/bin/Debug/net481 |