Commit b6de20b
committed
fix: correct tar archive structure for action cache
The runner expects tar.gz to contain the action directory, not just its contents.
Previous: tar -czf SHA.tar.gz -C /tmp/repo --exclude=.git .
Result: tar contains files directly (wrong structure)
Error: 'contains 4 directories'
Fixed: tar -czf SHA.tar.gz -C /tmp {owner}_{repo}
Result: tar contains one directory named {owner}_{repo}
Matches runner's expected format
This ensures the runner can properly extract and use cached actions.1 parent 7cf54bd commit b6de20b
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments