Skip to content

Commit 108022f

Browse files
committed
fix dgctl build
1 parent 1ec7410 commit 108022f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dgctl_release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release cli multi architecture
1+
name: release dgctl
22
on:
33
release:
44
branches:
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v4
3030
- name: Build
3131
run: |
32-
env GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} CGO_ENABLED=0 go build -o dgctl ./dgctl/main.go
32+
env GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} CGO_ENABLED=0 go build -o dgctl_bin ./dgctl/main.go
3333
3434
- name: Publish linux-x64 exec to github
3535
id: upload-release-asset-linux-x64
@@ -38,6 +38,6 @@ jobs:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
with:
4040
upload_url: ${{ github.event.release.upload_url }}
41-
asset_path: 'dgctl'
41+
asset_path: 'dgctl_bin'
4242
asset_name: dgctl-${{matrix.os}}-${{matrix.arch}}
4343
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)