Commit cb9b134
Test User
fix: add cleanup steps to prevent tar extraction and asset conflicts
- Clean dist folder before build to avoid stale files
- Clean Go toolchain cache to prevent tar extraction errors
- Remove toolchain modules from both /Users/Dorgham and /home/runner paths
- Prevents 'File exists' errors during tar extraction
- Ensures clean state before GoReleaser runs
This addresses:
- Tar extraction errors with existing files
- Stale dist files that could cause upload conflicts
- Go toolchain cache conflicts during extraction1 parent 63e5abd commit cb9b134
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
29 | 42 | | |
30 | 43 | | |
31 | 44 | | |
| |||
0 commit comments