Skip to content

Commit 47286a4

Browse files
committed
fix: upload artifact
1 parent d8b793c commit 47286a4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build-release.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@ jobs:
2828
run: |
2929
mkdir -p build
3030
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o build/weave-${{ matrix.goos }}-${{ matrix.goarch }}
31-
shell: bash
3231
33-
- name: List built files (for debugging)
32+
- name: List files in build directory
3433
run: ls -l build/
35-
shell: bash
3634

3735
- name: Upload binaries to GitHub release
3836
uses: actions/upload-release-asset@v1
3937
with:
4038
upload_url: ${{ github.event.release.upload_url }}
41-
asset_path: build/weave-${{ matrix.goos }}-${{ matrix.goarch }}
39+
asset_path: build/${{ matrix.goos }}-${{ matrix.goarch }}/weave
4240
asset_name: weave-${{ matrix.goos }}-${{ matrix.goarch }}
43-
asset_content_type: application/octet-stream
41+
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)