Skip to content

Commit

Permalink
Show console log during building, instead of after
Browse files Browse the repository at this point in the history
  • Loading branch information
csciguy8 committed Oct 4, 2023
1 parent 0ae42d4 commit 3528d5b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/buildWindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,14 @@ jobs:
run: |
echo "Temp directory: $env:TEMP"
cd "$env:UNREAL_BATCH_FILES_PATH"
$consoleLog = ./RunUAT.bat BuildPlugin -Plugin="$env:GITHUB_WORKSPACE/CesiumForUnreal.uplugin" -Package="$env:BUILD_CESIUM_UNREAL_PACKAGE_PATH" -CreateSubFolder -TargetPlatforms=Win64
./RunUAT.bat BuildPlugin -Plugin="$env:GITHUB_WORKSPACE/CesiumForUnreal.uplugin" -Package="$env:BUILD_CESIUM_UNREAL_PACKAGE_PATH" -CreateSubFolder -TargetPlatforms=Win64
echo LastExitCode=$LASTEXITCODE
if ($LASTEXITCODE -eq 0) {
exit 0
}
else {
exit -1
}
- name: Display build log
if: always()
run: |
cd "$env:UNREAL_BUILD_LOG_PATH"
dir
Get-Content Log.txt
- name: Upload plugin artifact
if: ${{ success() }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 3528d5b

Please sign in to comment.