hainv053/Upload a Build Artifact to S3 DO
Upload a build artifact that can be used by subsequent workflow steps
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Artifact name | — | artifact |
| path | A file, directory or wildcard pattern that describes what to upload | yes | — |
| if-no-files-found | The desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail | — | warn |
| retention-days | Duration after which artifact will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page. | — | — |
| s3-access-key-id | S3 Access Key ID | yes | — |
| s3-secret-access-key | S3 Secret Access Key | yes | — |
| s3-bucket | S3 Bucket to use to put your artifacts in, typically something like "gha-artifacts" | — | gha-artifacts |
| s3-endpoint | S3 endpoint to use, typically something like "s3.amazonaws.com" NOTE: when using this parameter the region parameter is ignored | — | "" |
| s3-prefix | S3 prefix to use to besides the default prefix, typically something like "${repo_owner}/${repo_name}/${run_id}/${artifact_name}" NOTE: when using this parameter the name parameter is ignored | — | "" |
| region | Region your s3 bucket is in | — | us-east-1 |
Outputs
no outputs