Skip to content

Commit d646448

Browse files
authored
Merge pull request #20 from tmax-cloud/upload-test
Fix workflow to upload binary when release is published
2 parents efc6a22 + 9499d53 commit d646448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/hcsctl.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070
with:
7171
upload_url: ${{ github.event.release.upload_url }}
72-
asset_path: hcsctl/build/
72+
asset_path: hcsctl/build/hcsctl
7373
asset_name: hcsctl
7474
asset_content_type: application/octet-stream
7575
- name: Upload hcsctl.test binary
@@ -78,6 +78,6 @@ jobs:
7878
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7979
with:
8080
upload_url: ${{ github.event.release.upload_url }}
81-
asset_path: hcsctl/build/
81+
asset_path: hcsctl/build/hcsctl.test
8282
asset_name: hcsctl.test
8383
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)