Repository navigation
Breaking changes
swap-storagenow defaults tofalse. Closes #12 — reported and diagnosed by @zaikunzhang, whose proposed documentation fallback became the new FAQ. Removing swap can kill a job under memory pressure with no error pointing back at the cleanup step; a default should not break something that elementary.tool-cacheis renamedpreinstalled-runtimes. The old name still works until v3.0.0 and prints a deprecation warning. (Its default is unchanged:false, as it has been since 2022.) The new name says what actually breaks when you enable it: the runtimes thatactions/setup-node,setup-python,setup-go, andsetup-rubyrely on.- Specific options now override general ones.
dotnet: falseexempts .NET from every removal path, includinglarge-packages. Fixes #33 — reported by @ashleney; the overlap was first reported by @gmij in #6, and @ax3l explained the overlapping removal paths and a workaround. The policy is explicit, and this release applies it to .NET; future subject options add and test their own exemptions.
Upgrading from v1 to v2
Most workflows need no change.
- If you set
tool-cache:, rename it topreinstalled-runtimes:. The old name still works until v3.0.0 and prints a warning. - If you relied on swap being removed by default, add
swap-storage: true. It now defaults tofalse, because removing swap can kill a job under memory pressure with no error pointing back here (#12). - If you set
dotnet: falseand were surprised that .NET was still removed, that is fixed — a specific option now overrides a general one (#33).
Also in this release
A README FAQ ("what are the possible side-effects of these settings?"), CONTRIBUTING.md, and a workflow example for running cleanup conditionally (#22). The reasons behind every design decision live in docs/adr/ — including ADR-0007, the record of this release's default change, written the day it was decided.