-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (42 loc) · 1.41 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
name: 'upload-release-assets-to-s3'
description: 'Uploads assets from a release to S3'
author: 'Orvar Segerström <[email protected]>'
inputs:
github-token:
description: The GitHub token used to fetch release assets
required: true
release-tag:
description: The tag of the release to fetch assets from
required: true
s3-bucket:
description: The S3 bucket to upload assets to
required: true
s3-region:
description: The S3 region to upload assets to
required: true
s3-bucket-public-url:
description: The public URL of the S3 bucket
required: false
s3-key-prefix:
description: The prefix to use for the files uploaded to s3 (e.g. 'my-app/releases/foo')
required: false
default: 'releases/{version-parsed-from-tag}'
aws-access-key-id:
description: The access key id for AWS
required: true
aws-secret-access-key:
description: The secret access key for AWS
required: true
done-when-asset-suffixes-exist:
description: A comma-separated list of suffixes to wait for before uploading done indicator file
required: false
done-indicator-file-name:
description: If provided, this file will be added to the github release, containing the urls to all uploaded assets
required: false
default: ''
debug:
description: Whether to tell the GitHub client to log details of its requests
default: 'false'
runs:
using: 'node16'
main: 'dist/index.js'