A simple upload action using minio javascript package without docker to run on both Linux and Windows.
required Your storage endpoint url.
Port of your storage. Default set to 443 for HTTPS, if you using other port (like 80 of HTTP) you need specific it here.
required AccessKey of your storage.
required SecretKey of your storage.
required Bucket name of your storage. Must be existed one.
Use HTTPS or not, default to true.
required Path to file you want to upload.
required Path to file where you want upload it to. Should be a file name.
Will be "successed" or "failed"
uses: ckylinmc/[email protected]
with:
endpoint: 'some.minio.obj.com'
accesskey: ${{secrets.MINIO_AK}}
secretkey: ${{secrets.MINIO_SK}}
bucketname: 'your_bucket_name'
source: './artifact.zip'
dest: '/cache/artifact.zip'