add test ci (#91) #117
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
# Build PackageManager Client using latest VS and DotNET | |
name: PackageManagerClient-VS2022Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout PackageManagerClient Repo | |
uses: actions/checkout@v2 | |
with: | |
path: PackageManagerClient | |
repository: DynamoDS/PackageManagerClient | |
- name: Setup Nuget.exe to use on VM | |
uses: nuget/setup-nuget@v1 | |
- name: Nuget Restore in PackageManagerClient solution | |
run: nuget restore $Env:GITHUB_WORKSPACE\PackageManagerClient\src\GregClient.sln | |
- name: Build PackageManagerClient with MSBuild | |
run: | | |
echo "***Continue with the build, Good luck developer!***" | |
cd "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64" | |
.\MSBuild.exe $Env:GITHUB_WORKSPACE\PackageManagerClient\src\GregClient.sln | |
# look for PackageManagerClient | |
- name: Navigate to PackageManagerClient Folder | |
run: | | |
cd "$Env:GITHUB_WORKSPACE\PackageManagerClient\bin\Debug" | |
echo "***Locating PackageManagerClient!***" | |
test ".\Greg.dll" && echo "PackageManagerClient exists!" |