Skip to content

Commit 63b102a

Browse files
committed
Add containerdiag.bat to release
Signed-off-by: Kevin Grigorenko <kevin.grigorenko@us.ibm.com>
1 parent 546d2c7 commit 63b102a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,14 @@ jobs:
3333
--header "Accept: application/vnd.github.v3+json" \
3434
--header "Content-Type: $(file -b --mime-type containerdiag.sh)" \
3535
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
36-
--data-binary @containerdiag.sh
36+
--data-binary @containerdiag.sh && \
37+
curl \
38+
--silent \
39+
--show-error \
40+
--fail \
41+
--request POST \
42+
--url https://uploads.github.com/repos/${{github.repository}}/releases/${RELEASE}/assets?name=containerdiag.bat \
43+
--header "Accept: application/vnd.github.v3+json" \
44+
--header "Content-Type: $(file -b --mime-type containerdiag.bat)" \
45+
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
46+
--data-binary @containerdiag.bat

0 commit comments

Comments
 (0)