CivMC / Civ

Monorepo for development of and running a Civ Server.
MIT License
4 stars 10 forks source link

Build Pipeline - Persist Gradle Cache to speed up build #533

Open AngrySoundTech opened 1 month ago

Huskydog9988 commented 2 weeks ago

it seems like gradle has this enabled by default in the setup gradle task. Looking at recent ci job, it appears to be functioning properly.

AngrySoundTech commented 2 weeks ago

it seems like gradle has this enabled by default in the setup gradle task. Looking at recent ci job, it appears to be functioning properly.

That job isn't used any more since we made a few ansible changes, and uses the deprecated gradle-build-action, not setup-gradle.

Regardless, both that and a recent job run using setup-gradle (https://github.com/CivMC/Civ/actions/runs/9181090057) show that paperweight cache is not persisted. (./*/.gradle/caches/paperweight/*).