Skip to content

Commit 6499b58

Browse files
committed
fix: action
1 parent 48ed089 commit 6499b58

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ jobs:
2626

2727
- name: Build binary
2828
run: |
29-
mkdir -p build
30-
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o build/weave-${{ matrix.goos }}-${{ matrix.goarch }}
29+
mkdir -p build/${{ matrix.goos }}-${{ matrix.goarch }}
30+
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o build/${{ matrix.goos }}-${{ matrix.goarch }}/weave
31+
32+
- name: List files in build directory (optional for debugging)
33+
run: ls -R build/
3134

3235
- name: Upload binaries
3336
uses: actions/upload-artifact@v3
3437
with:
3538
name: ${{ matrix.goos }}-${{ matrix.goarch }}-binary
3639
path: build/${{ matrix.goos }}-${{ matrix.goarch }}/weave
37-
40+
3841
# - name: Upload binaries to GitHub release
3942
# uses: actions/upload-release-asset@v1
4043
# with:

0 commit comments

Comments
 (0)