Skip to content

Commit

Permalink
check for minio binary on CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
majetideepak committed Sep 19, 2024
1 parent fea9c05 commit dfbc4d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,11 @@ jobs:
- name: Install Minio
run: |
MINIO_BINARY="minio-2022-05-26"
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/
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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-adapters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dfbc4d4

Please sign in to comment.