Skip to content

Commit 46a52e0

Browse files
authored
update release.yml
1 parent 25f1849 commit 46a52e0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,13 @@ jobs:
117117

118118
- name: Upload native images and JAR to the release
119119
run: |
120+
cp artifacts/chat-gpt-cli-macos-intel/chat-gpt-cli artifacts/chat-gpt-cli-macos-intel/chat-gpt-cli-macos-intel
121+
cp artifacts/chat-gpt-cli-linux64/chat-gpt-cli artifacts/chat-gpt-cli-linux64/chat-gpt-cli-linux64
122+
120123
gh release upload ${{ steps.extract_tag.outputs.tag }} \
121-
artifacts/chat-gpt-cli-macos-intel/chat-gpt-cli \
122-
--name "chat-gpt-cli-macos-intel" \
123-
artifacts/chat-gpt-cli-linux64/chat-gpt-cli \
124-
--name "chat-gpt-cli-linux64"
125-
124+
artifacts/chat-gpt-cli-macos-intel/chat-gpt-cli-macos-intel \
125+
artifacts/chat-gpt-cli-linux64/chat-gpt-cli-linux64
126+
126127
for jar_file in artifacts/chat-gpt-cli-jar/chat-gpt-cli-*.jar; do
127128
echo "Uploading ${jar_file}"
128129
gh release upload ${{ steps.extract_tag.outputs.tag }} "${jar_file}"

0 commit comments

Comments
 (0)