GitHub CI: fixed unbound variables

FEATURES may not be defined in other workflows than C/C++ CI.
This commit is contained in:
Martin Pulec
2021-05-20 09:41:42 +02:00
parent 50a6eb229c
commit b60dcb283a

View File

@@ -51,7 +51,7 @@ sudo ./install
# Install AJA
if [ -n "$SDK_URL" ]; then
if curl -f -S $SDK_URL/ntv2sdklinux.zip -O; then
FEATURES="$FEATURES --enable-aja"
FEATURES="${FEATURES:+$FEATURES }--enable-aja"
echo "FEATURES=$FEATURES" >> $GITHUB_ENV
unzip ntv2sdklinux.zip -d /var/tmp
mv /var/tmp/ntv2sdk* /var/tmp/ntv2sdk