diff --git a/.gitea/workflows/test-macos-build.yml b/.gitea/workflows/test-macos-build.yml index f35a0d67..4ca6fd31 100644 --- a/.gitea/workflows/test-macos-build.yml +++ b/.gitea/workflows/test-macos-build.yml @@ -14,6 +14,19 @@ jobs: with: lfs: true fetch-depth: 0 + + # Cache Unreal Engine build artifacts to speed up builds + - name: Cache UE build artifacts + uses: actions/cache@v3 + with: + path: | + ./Intermediate + ./DerivedDataCache + ./Saved/StagedBuilds + key: ${{ runner.os }}-ue-build-${{ hashFiles('LuckyWorld.uproject') }}-${{ hashFiles('Config/**/*.ini') }} + restore-keys: | + ${{ runner.os }}-ue-build-${{ hashFiles('LuckyWorld.uproject') }}- + ${{ runner.os }}-ue-build- # Setup environment for build - name: Setup environment