-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.01 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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/*"