Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 526238d

Browse files
committed
fix: cat the target variable to curl
1 parent 918faa6 commit 526238d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
URL=$(echo "${{ steps.release.outputs.upload_url }}" | sed "s/[{][^)]*[}]//g")
4343
NAME="vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix"
4444
TARGET="${URL}?name=${NAME}"
45-
echo ${TARGET}
45+
echo "Upload target: ${TARGET}"
4646
curl \
4747
-X POST \
4848
-H "Accept: application/vnd.github+json" \
4949
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
5050
-H "Content-Type: application/vsix" \
5151
--data-binary "@vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix" \
52-
${TARGET}
52+
${TARGET} | cat

0 commit comments

Comments
 (0)