diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8f06b843..8052b7efd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -226,6 +226,15 @@ jobs: with: name: CesiumForUnreal-50-windows-${{ env.CESIUM_UNREAL_VERSION}} path: combine + - name: Unreal Marketplace Workaround + run: | + # The UE Marketplace deletes our Intermediates directory and fails to produces new + # intermediates for the Linux platform. The Marketplace team has suggested we copy + # them to the LinuxIntermediate directory instead, as a workaround. Users still have + # to move these files to the correct place manually, though, in order for Linux builds + # to succeed. + mkdir -p combine/CesiumForUnreal/LinuxIntermediate/Build/Linux + cp -r combine/CesiumForUnreal/Intermediate/Build/Linux/* combine/CesiumForUnreal/LinuxIntermediate/Build/Linux - name: Publish combined package artifact if: ${{ success() }} uses: actions/upload-artifact@v3 @@ -467,6 +476,15 @@ jobs: with: name: CesiumForUnreal-51-windows-${{ env.CESIUM_UNREAL_VERSION}} path: combine + - name: Unreal Marketplace Workaround + run: | + # The UE Marketplace deletes our Intermediates directory and fails to produces new + # intermediates for the Linux platform. The Marketplace team has suggested we copy + # them to the LinuxIntermediate directory instead, as a workaround. Users still have + # to move these files to the correct place manually, though, in order for Linux builds + # to succeed. + mkdir -p combine/CesiumForUnreal/LinuxIntermediate/Build/Linux + cp -r combine/CesiumForUnreal/Intermediate/Build/Linux/* combine/CesiumForUnreal/LinuxIntermediate/Build/Linux - name: Publish combined package artifact if: ${{ success() }} uses: actions/upload-artifact@v3 @@ -727,6 +745,15 @@ jobs: with: name: CesiumForUnreal-52-windows-${{ env.CESIUM_UNREAL_VERSION}} path: combine + - name: Unreal Marketplace Workaround + run: | + # The UE Marketplace deletes our Intermediates directory and fails to produces new + # intermediates for the Linux platform. The Marketplace team has suggested we copy + # them to the LinuxIntermediate directory instead, as a workaround. Users still have + # to move these files to the correct place manually, though, in order for Linux builds + # to succeed. + mkdir -p combine/CesiumForUnreal/LinuxIntermediate/Build/Linux + cp -r combine/CesiumForUnreal/Intermediate/Build/Linux/* combine/CesiumForUnreal/LinuxIntermediate/Build/Linux - name: Publish combined package artifact if: ${{ success() }} uses: actions/upload-artifact@v3 diff --git a/Config/FilterPlugin.ini b/Config/FilterPlugin.ini index 37b008195..b1cfb8c47 100644 --- a/Config/FilterPlugin.ini +++ b/Config/FilterPlugin.ini @@ -8,3 +8,13 @@ /Shaders/* /Intermediate/Build/Linux/* /Binaries/Linux/* +/LinuxIntermediate/Build/Linux/UnrealEditor/Inc/CesiumEditor/UHT/* +/LinuxIntermediate/Build/Linux/UnrealEditor/Inc/CesiumRuntime/UHT/* +/LinuxIntermediate/Build/Linux/UnrealGame/Development/CesiumRuntime/* +/LinuxIntermediate/Build/Linux/UnrealGame/Inc/CesiumRuntime/UHT/* +/LinuxIntermediate/Build/Linux/UnrealGame/Shipping/CesiumRuntime/* +/LinuxIntermediate/Build/Linux/x64/UnrealGame/Development/CesiumRuntime/* +/LinuxIntermediate/Build/Linux/x64/UnrealGame/Shipping/CesiumRuntime/* +/LinuxIntermediate/Build/Linux/B4D820EA/UnrealGame/Development/CesiumRuntime/* +/LinuxIntermediate/Build/Linux/B4D820EA/UnrealGame/Inc/CesiumRuntime/UHT/* +/LinuxIntermediate/Build/Linux/B4D820EA/UnrealGame/Shipping/CesiumRuntime/*