An open API service indexing awesome lists of open source software.

https://github.com/yakubique/setup-minio-cli

Sets up MinIO client (And it caches it, too!)
https://github.com/yakubique/setup-minio-cli

github-actions mc minio s3 setup

Last synced: about 1 year ago
JSON representation

Sets up MinIO client (And it caches it, too!)

Awesome Lists containing this project

README

          

# Setup MinIO client

[![Coverage](./badges/coverage.svg)](./badges/coverage.svg)
[![Test `setup-minio-cli` action](https://github.com/yakubique/setup-minio-cli/actions/workflows/test-myself.yaml/badge.svg)](https://github.com/yakubique/setup-minio-cli/actions/workflows/test-myself.yaml)

Sets up [MinIO client](https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc) (And it caches it, too!)

[Usage workflow](https://github.com/yakubique/setup-minio-cli/actions/workflows/test-myself.yaml)

## Usage
```yaml
- name: Setup MinIO client
uses: yakubique/setup-minio-cli@v1
- name: Test MinIO client
run: |
mc --help

```

## Inputs

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|-----------|--------|----------|--------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| mc_url | string | false | `"https://dl.min.io/client/mc/release/{platform}-{arch}/mc"` | URL to obtain `mc` from |
| use_cache | string | false | `"true"` | MC doesn't have `real` versions, you
can pass `use_cache=false` to fetch latest
version every time |

## Outputs

No outputs.

----

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/S6S1UZ9P7)