Skip to content

Use prebuilt mc binary in place of docker image #2

Use prebuilt mc binary in place of docker image

Use prebuilt mc binary in place of docker image #2

Workflow file for this run

name: Test action
on: push
jobs:
upload:
runs-on: self-hosted
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Generate test files
run: |
echo "Minio Test" >> test.txt
echo "Minio Test" >> test-wild.txt
- name: Test single file upload
uses: ./
with:
url: https://s3.nubificus.com
access-key: ${{ secrets.AWS_ACCESS_KEY }}
secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
local-path: "./test.txt"
remote-path: "github/minio/"
- name: Test wildcard with extension upload
uses: ./
with:
url: https://s3.nubificus.com
access-key: ${{ secrets.AWS_ACCESS_KEY }}
secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
local-path: "./*.txt"
remote-path: "github/minio/"
- name: Test wildcard upload
uses: ./
with:
url: https://s3.nubificus.com
access-key: ${{ secrets.AWS_ACCESS_KEY }}
secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
local-path: "./*"
remote-path: "github/minio/"