Skip to content

Commit 1f3cd82

Browse files
author
xiao
committed
Fix: Create dist directory in GitHub Actions workflow
- Add mkdir -p dist before moving compressed files - Fixes 'Not a directory' error during build process
1 parent 716ad98 commit 1f3cd82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
GOARCH=${{ matrix.goarch }}
5454
go build -ldflags="-s -w" -a -installsuffix cgo .
5555
56+
- name: Create dist directory
57+
run: mkdir -p dist
58+
5659
- name: Compress binary (optional)
5760
if: matrix.goos == 'windows'
5861
run: |

0 commit comments

Comments
 (0)