Download from R2
This Composite Action downloads an artifact from Cloudflare R2.
R2 download artifact
- uses: Yellow-Dog-Man/composite-actions-templates/.github/actions/download-from-r2@main
with:
r2-storage-bucket: (1)
r2-api-id: (2)
r2-auth-token-id: (3)
r2-auth-token: (4)
r2-region: (5)
r2-path: (6)
put-path: (7)
Storage bucket to use to store the artifacts
Account ID for R2
ID of the authentication token for R2
Authentication token for R2
Region for the R2 account
Path within R2 where to put the file.
File path where to put the files.
Downloads an artifact from R2.
Inputs: ¤
| Name | Description |
|---|---|
r2-storage-bucket
|
Storage bucket to use to store the artifacts |
r2-api-id
|
Account ID for R2 |
r2-auth-token-id
|
ID of the authentication token for R2 |
r2-auth-token
|
Authentication token for R2 |
r2-region
|
Region for the R2 account |
r2-path
|
Path within R2 where to put the file. |
put-path
|
File path where to put the files. |
Outputs: ¤
| Name | Description |
|---|---|
cache-hit
|
Returns if the cache was hit or not. |
Source of Yellow-Dog-Man/composite-actions-templates/.github/actions/download-from-r2@main
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | |