From 7710a8644f6a1c4d67e659d6a77883900420a431 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Sat, 21 Oct 2023 00:02:25 +0200 Subject: [PATCH] Ensure AssetDumper can be compiled --- .github/workflows/updateHeaders.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updateHeaders.yml b/.github/workflows/updateHeaders.yml index d810cf5..2f6f663 100644 --- a/.github/workflows/updateHeaders.yml +++ b/.github/workflows/updateHeaders.yml @@ -146,8 +146,10 @@ jobs: mkdir sfm\\FactoryGame\\Mods cp UEAssetToolkit\\AssetDumper sfm\\FactoryGame\\Mods -Recurse - - name: Compile project + - name: Compile AssetDumper (project without sources) run: | + Remove-Item .\\sfm\\FactoryGame\\Source\\FactoryGame\\Public -Recurse -Force -Confirm:$false -ErrorAction Ignore + Remove-Item .\\sfm\\FactoryGame\\Source\\FactoryGame\\Private -Recurse -Force -Confirm:$false -ErrorAction Ignore & "$Env:UE_ROOT\\Engine\\Build\\BatchFiles\\Build.bat" -projectfiles -project="$Env:GITHUB_WORKSPACE\\sfm\\FactoryGame\\FactoryGame.uproject" -game -rocket -progres MSBuild.exe .\\sfm\\FactoryGame\\FactoryGame.sln /p:Configuration="Shipping" /p:Platform="Win64" /t:"Games\FactoryGame" MSBuild.exe .\\sfm\\FactoryGame\\FactoryGame.sln /p:Configuration="Development Editor" /p:Platform="Win64" /t:"Games\FactoryGame"