1 name: Upload File to S3
24 name: Upload file in S3
25 runs-on: ubuntu-latest
30 curl https://dl.min.io/client/mc/release/linux-amd64/mc \
32 -o $GITHUB_WORKSPACE/minio-binaries/mc
34 chmod +x $GITHUB_WORKSPACE/minio-binaries/mc
35 echo $GITHUB_WORKSPACE/minio-binaries/ >> $GITHUB_PATH
38 run: mc alias set s3 ${{ inputs.endpoint }} ${{ secrets.s3_access_key }} ${{ secrets.s3_secret_key }}
41 uses: actions/download-artifact@v3
43 name: ${{ inputs.download_id }}
45 - name: Upload file to s3
46 run: mc cp ${{ inputs.filename }} s3/${{ inputs.bucket }}/