Skip to content

Commit 566585c

Browse files
committed
CI delta SDK: output name explicitly
When non-free SDK path is provided but the server curl automatic path with -O doesn't work (eg. the downloaded file name is passed in a GET variable).
1 parent 247a594 commit 566585c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/Windows/prepare_msys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ install_deltacast() {(
7979
mkdir VideoMaster
8080
cd VideoMaster
8181
filename=videomaster-win.x64-dev.zip
82-
if curl -f -S "$SDK_URL/$filename" -O; then
82+
if curl -f -S "$SDK_URL/$filename" -o $filename; then
8383
FEATURES="$FEATURES --enable-deltacast"
8484
echo "FEATURES=$FEATURES" >> "$GITHUB_ENV"
8585
unzip "$filename"

.github/workflows/ccpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
rm -rf ${{ env.SDK_NONFREE_PATH }}
173173
mkdir -p ${{ env.SDK_NONFREE_PATH }}
174174
cd ${{ env.SDK_NONFREE_PATH }}
175-
curl -S -f -O "$SDK_URL/$DELTA_MAC_ARCHIVE"
175+
curl -S -f "$SDK_URL/$DELTA_MAC_ARCHIVE" -o "$DELTA_MAC_ARCHIVE"
176176
- name: Run actions/cache for XIMEA
177177
id: cache-macos-ximea
178178
uses: actions/cache@main

0 commit comments

Comments
 (0)