Skip to content

Commit 16a4305

Browse files
committed
update release.yml
1 parent a5b70b2 commit 16a4305

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ jobs:
8484
run: |
8585
for artifact_name in chat-gpt-cli-macos-intel chat-gpt-cli-linux64; do
8686
echo "Uploading ${artifact_name}"
87-
gh release upload ${{ steps.extract_tag.outputs.tag }} artifacts/${artifact_name}/chat-gpt-cli
87+
cp artifacts/${artifact_name}/chat-gpt-cli artifacts/${artifact_name}/${artifact_name}
88+
gh release upload ${{ steps.extract_tag.outputs.tag }} artifacts/${artifact_name}/${artifact_name}
8889
done
8990
env:
90-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
91+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)