Skip to content

Commit

Permalink
Testing building BuildServerUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Mar 27, 2024
1 parent 48b45b4 commit f675cd2
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/Engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f675cd2

Please sign in to comment.