attempt to use shared scripts for build and remove docker use #124
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
# Build PackageManager Client using msbuild | |
name: PackageManagerClient-VS2022Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout PackageManagerClient Repo | |
uses: actions/checkout@v4 | |
with: | |
path: PackageManagerClient | |
repository: DynamoDS/PackageManagerClient | |
- name: Setup nuget | |
uses: nuget/[email protected] | |
- name: Setup msbuild | |
uses: microsoft/[email protected] | |
- name: Nuget Restore PackageManagerClient solution | |
run: nuget restore ${{ github.workspace }}\PackageManagerClient\src\GregClient.sln | |
- name: Build PackageManagerClient with MSBuild | |
run: | | |
Write-Output "***Continue with the build, Good luck developer!***" | |
msbuild ${{ github.workspace }}\PackageManagerClient\src\GregClient.sln | |
- name: Look for PackageManagerClient | |
run: | | |
Write-Output "***Locating PackageManagerClient!***" | |
if (Test-Path -Path "${{ github.workspace }}\PackageManagerClient\bin\Debug\net8.0\Greg.dll") { | |
Write-Output "PackageManagerClient exists!" | |
} else { | |
Write-Error "PackageManagerClient was not found!" | |
} |