Use prebuilt mc binary in place of docker image #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test action | |
on: push | |
jobs: | |
download: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Test single file download | |
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/test1.txt" | |
- name: Test wildcard with extension download | |
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/*.txt" | |
- name: Test wildcard download | |
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/*" |