Skip to content

Commit d58cb2a

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 af37525 commit d58cb2a

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
@@ -180,7 +180,7 @@ jobs:
180180
rm -rf ${{ env.SDK_NONFREE_PATH }}
181181
mkdir -p ${{ env.SDK_NONFREE_PATH }}
182182
cd ${{ env.SDK_NONFREE_PATH }}
183-
curl -S -f -O "$SDK_URL/$DELTA_MAC_ARCHIVE"
183+
curl -S -f "$SDK_URL/$DELTA_MAC_ARCHIVE" -o "$DELTA_MAC_ARCHIVE"
184184
- name: Run actions/cache for XIMEA
185185
id: cache-macos-ximea
186186
uses: actions/cache@main

0 commit comments

Comments
 (0)