Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit cbe11c4

Browse files
author
Ivan Mirić
committed
Fix curl command while installing wix tools in CI
-O uses the remote name, so the 'wix311-binaries.zip' argument wasn't being used. We could keep -O but it's more reliable to specify our own filename. But this is a fix mainly to follow redirects with -L, since the failure we were seeing is: curl: Remote file name has no length! curl: (23) Failed writing received data to disk/application Which is because the first response is a redirect. Also adds -s to hide the progress bar.
1 parent bf27a2c commit cbe11c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ jobs:
283283
args: install -y pandoc
284284
- name: Install wix tools
285285
run: |
286-
curl -O wix311-binaries.zip https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
286+
curl -Lso wix311-binaries.zip https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
287287
Expand-Archive -Path .\wix311-binaries.zip -DestinationPath .\wix311\
288288
echo "$pwd\wix311" | Out-File -FilePath $env:GITHUB_PATH -Append
289289
- name: Download binaries

0 commit comments

Comments
 (0)