Commit 4ab17ed
committed
Skip unnecessary rebuilds when no dependencies changed
Add a check step to the rebuild workflow that compares the last commit
touching dependency files against the last dist build commit. If no
dependency files changed since the last rebuild, all subsequent steps
are skipped, avoiding unnecessary install and build cycles.1 parent 3037d17 commit 4ab17ed
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
24 | 42 | | |
| 43 | + | |
25 | 44 | | |
26 | 45 | | |
27 | 46 | | |
| 47 | + | |
28 | 48 | | |
29 | 49 | | |
30 | 50 | | |
| 51 | + | |
31 | 52 | | |
32 | 53 | | |
33 | 54 | | |
34 | 55 | | |
| 56 | + | |
35 | 57 | | |
36 | 58 | | |
37 | 59 | | |
| |||
0 commit comments