generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
48 lines (45 loc) · 2.22 KB
/
action.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
38
39
40
41
42
43
44
45
46
47
48
name: 'GitHub Assets to S3'
description: 'Transfers GitHub release assets to a S3 bucket.'
author: 'okcodes'
branding:
icon: 'upload-cloud'
color: 'yellow'
inputs:
endpoint:
description: The endpoint URL for the S3 or S3-compatible storage service, e.g., "https://s3.us-east-1.amazonaws.com" or "https://s3.us-east-000.backblazeb2.com".
required: true
region:
description: The region where your S3 bucket or S3-compatible storage service is located, e.g., "us-east-1". Must match the one in "endpoint".
required: true
accessKeyId:
description: The access key ID for authenticating with the S3 or S3-compatible storage service.
required: true
secretAccessKey:
description: The secret access key for authenticating with the S3 or S3-compatible storage service.
required: true
bucket:
description: The name of the bucket in the S3 or S3-compatible storage service where release assets will be uploaded.
required: true
folder:
description: Folder in S3 where to store the release assets. If not set, the assets will be stored in the root folder of the bucket.
required: false
default: ''
repository:
description: The GitHub repository name in the format 'owner/repo' from which release assets will be uploaded.
required: true
releaseId:
description: The ID of the release from where the assets will be uploaded. Only one, either "releaseId" or "releaseTag" must be provided, if both are provided, or none, the action will fail.
required: false
releaseTag:
description: The tag name of the release from which assets will be uploaded. Only one, either "releaseId" or "releaseTag" must be provided, if both are provided, or none, the action will fail.
required: false
githubToken:
description: A GitHub token with permissions to access private repositories if the repository is private. This token is used to authenticate requests for downloading release assets.
required: true
useTauriSummaryOnRelease:
description: Whether to update the release with a summary of the file that were transferred interpreting the transferred assets as if all of them are artifacts of a tauri build.
required: false
default: 'false'
runs:
using: node20
main: dist/index.js