diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a3c1516c..6c6cafa99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,12 +28,12 @@ jobs: shell: bash run: | BUNDLEDVERSIONS="${{env.DOTNET_ROOT}}/dotnet/sdk/${DOTNET_VERSION}/Microsoft.NETCoreSdk.BundledVersions.props" - echo $BUNDLEDVERSIONS - if grep -q freebsd-x64 $BUNDLEDVERSIONS; then + echo "$BUNDLEDVERSIONS" + if grep -q freebsd-x64 "$BUNDLEDVERSIONS"; then echo "Extra platforms already enabled" else echo "Enabling extra platform support" - sed -i.ORI 's/osx-x64/osx-x64;freebsd-x64;linux-x86/' $BUNDLEDVERSIONS + sed -i.ORI 's/osx-x64/osx-x64;freebsd-x64;linux-x86/' "$BUNDLEDVERSIONS" fi - name: Build Backend run: ./build.sh --backend --enable-extra-platforms --packages