diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 4c3fb9ade1ff..1ca5cce9c7ec 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -79,6 +79,15 @@ jobs: install_cuda ${CUDA_VERSION} fi + - name: Install Minio + run: | + MINIO_BINARY="minio-2022-05-26" + if [ ! -f /usr/local/bin/${MINIO_BINARY} ]; then + wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2022-05-26T05-48-41Z -O ${MINIO_BINARY} + chmod +x ./${MINIO_BINARY} + mv ./${MINIO_BINARY} /usr/local/bin/ + fi + - uses: assignUser/stash/restore@v1 with: path: '${{ env.CCACHE_DIR }}' diff --git a/scripts/setup-adapters.sh b/scripts/setup-adapters.sh index b2b0e5a1170d..4fed3cdced9a 100755 --- a/scripts/setup-adapters.sh +++ b/scripts/setup-adapters.sh @@ -44,7 +44,7 @@ function install_aws_deps { MINIO_ARCH="amd64" fi local MINIO_BINARY="minio-2022-05-26" - if [[! -f /usr/local/bin/${MINIO_BINARY} ]]; then + if [ ! -f /usr/local/bin/${MINIO_BINARY} ]; then local MINIO_OS="linux" if [[ "$OSTYPE" == darwin* ]]; then # minio will have to approved under the Privacy & Security on MacOS on first use.