-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use prebuilt mc binary in place of docker image
Signed-off-by: Kostis Papazafeiropoulos <[email protected]>
- Loading branch information
Showing
4 changed files
with
97 additions
and
73 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Test action | ||
|
||
on: push | ||
|
||
jobs: | ||
upload: | ||
runs-on: self-hosted | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Generate test files | ||
run: | | ||
mkdir -p files | ||
echo "Minio Test 1" > files/test1.txt | ||
echo "Minio Test 2" > files/test2.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: "./files/test1.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: "./files/*.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: "./files/*" | ||
remote-path: "github/minio/" |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.