Skip to content

Commit 8fceb70

Browse files
fegmortedvdplm
authored andcommitted
fix(ci): fix minio mc download
1 parent 9e75b07 commit 8fceb70

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/common-testing.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,17 @@ jobs:
249249
MINIO_SECRET_KEY: minioadmin
250250
MINIO_REGION: eu-north-1
251251
run: |
252-
curl https://dl.min.io/client/mc/release/linux-amd64/mc \
252+
curl -fL --retry 3 --retry-delay 2 https://dl.min.io/client/mc/release/linux-amd64/mc \
253253
--create-dirs \
254-
-o "${HOME}"/minio-binaries/mc
254+
-o "${HOME}/minio-binaries/mc"
255255
256-
chmod +x "${HOME}"/minio-binaries/mc
256+
chmod +x "${HOME}/minio-binaries/mc"
257257
export PATH="${PATH}:${HOME}/minio-binaries/"
258+
mc --version
258259
259260
mc alias set "${MINIO_ALIAS}" http://127.0.0.1:9000 "${MINIO_ACCESS_KEY}" "${MINIO_SECRET_KEY}"
260-
mc mb "${MINIO_ALIAS}"/"${MINIO_BUCKET}"
261-
mc anonymous set public "${MINIO_ALIAS}"/"${MINIO_BUCKET}"
261+
mc mb "${MINIO_ALIAS}/${MINIO_BUCKET}"
262+
mc anonymous set public "${MINIO_ALIAS}/${MINIO_BUCKET}"
262263
263264
- name: Setup cargo dylint
264265
run: |

0 commit comments

Comments
 (0)