You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`hmc-version`| HeadlessMC version ||`2.5.1`, `1.5.0`|
116
+
|`cache-mc`| Cache `.minecraft`<br/>(`true` defaults to `blacksmith`) ||`github`, `blacksmith`, `true`, `false`|
117
117
118
118
---
119
119
120
+
## Caching
121
+
MC-Runtime-Test optionally caches `.minecraft` to improve execution time.
122
+
By default `cache-mc` is set to `github`, which uses `actions/cache`.
123
+
Set `cache-mc` to `false` to disable caching.
124
+
125
+
Another option is `blacksmith` for `blacksmith/cache`.
126
+
Simply follow the instructions [here](https://docs.blacksmith.sh/introduction/quickstart)
127
+
to enable blacksmith for your repositories and enable the `cache-mc` input.
128
+
120
129
## Running Your Own Tests
121
130
MC-Runtime-Test supports Minecraft’s [Game-Test Framework](https://www.minecraft.net/en-us/creator/article/get-started-gametest-framework). It executes `/test runall` upon joining a world.
0 commit comments