Commit 3a9650e
Improve CI performance: NuGet caching + skip GenerateDocs on Windows (#1001)
- Add actions/cache@v4 for NuGet packages (keyed on Directory.Packages.props,
global.json, and .config/dotnet-tools.json) to both workflow files.
Subsequent runs restore the package cache, avoiding re-downloading packages.
- Add whenNot { envVar "RUNNER_OS" "Windows" } to the GenerateDocs stage in
build.fsx so that the docs-generation step (fsdocs install + build) is
skipped on Windows CI runners. Docs are only deployed from Linux, so this
step adds no value on Windows and can take several minutes.
Closes #1001
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1507285 commit 3a9650e
3 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
0 commit comments