diff --git a/.github/workflows/Engine.yml b/.github/workflows/Engine.yml index 17ede950f..98452e929 100644 --- a/.github/workflows/Engine.yml +++ b/.github/workflows/Engine.yml @@ -84,39 +84,39 @@ jobs: # run: | # Get-ChildItem -Path . -Recurse -ErrorAction SilentlyContinue -Force + - name: Build BuildServerUploader + run: dotnet build -c Debug 'FlatRedBall\FRBDK\BuildServerUploader\BuildServerUploader.sln' + - name: Check if directory exists run: | - $FolderPath = '.\FlatRedBall\Engines\Forms\FlatRedBall.Forms' + $FolderPath = '.\FlatRedBall\FRBDK\BuildServerUploader\BuildServerUploaderConsole\bin\x86\Debug\BuildServerUploaderConsole.exe' if (Test-Path -Path $FolderPath) { Write-Host "Directory exists at $FolderPath" } else { Write-Host "Directory does not exist at $FolderPath" } - $FolderPath2 = 'FlatRedBall\Engines\Forms\FlatRedBall.Forms' - if (Test-Path -Path $FolderPath2) { - Write-Host "Directory exists at $FolderPath2" - } else { - Write-Host "Directory does not exist at $FolderPath2" - } - $currentDirectory = $PWD.Path - Write-Host "Current directory: $currentDirectory" - if (Test-Path -Path $env:GITHUB_WORKSPACE) { - Write-Host "Current directory exists - wouldnt you know it?" - } + # $FolderPath2 = 'FlatRedBall\Engines\Forms\FlatRedBall.Forms' + # if (Test-Path -Path $FolderPath2) { + # Write-Host "Directory exists at $FolderPath2" + # } else { + # Write-Host "Directory does not exist at $FolderPath2" + # } + # $currentDirectory = $PWD.Path + # Write-Host "Current directory: $currentDirectory" + # if (Test-Path -Path $env:GITHUB_WORKSPACE) { + # Write-Host "Current directory exists - wouldnt you know it?" + # } - $path1 = "$($env:GITHUB_WORKSPACE)\FlatRedBall" - Write-Host "Testing $path1" - if (Test-Path -Path $path1) { - Write-Host "2it exists" - } - if (Test-Path -Path "$($env:GITHUB_WORKSPACE)\FlatRedBall\FlatRedBall.Forms") { - Write-Host "3 exists" - } + # $path1 = "$($env:GITHUB_WORKSPACE)\FlatRedBall" + # Write-Host "Testing $path1" + # if (Test-Path -Path $path1) { + # Write-Host "2it exists" + # } + # if (Test-Path -Path "$($env:GITHUB_WORKSPACE)\FlatRedBall\FlatRedBall.Forms") { + # Write-Host "3 exists" + # } - shell: pwsh + # shell: pwsh # - name: Directory listing # run: | # Get-ChildItem -Path . -Recurse -ErrorAction SilentlyContinue -Force - - name: Copy libs - run: | - xcopy "FlatRedBall\Engines\Forms\FlatRedBall.Forms\bin\DesktopGL\Debug\*" "FlatRedBall\Templates\FlatRedBallDesktopGlTemplate\FlatRedBallDesktopGlTemplate\Libraries\DesktopGl\Debug" /E /I