Github action to upload to S3 and add a version to the name
Used inputs
- aws-access-key-id
- aws-secret-access-key
- aws-region
- github_ref
- bucket_name
- bucket_path
- no_release_path: if
true
RELEASE_VERSION
will not be appended tobucket_path
; made to keep backwards compatibility - target: file to upload
- target_dir: directory to upload
- sync_options: additional options for
aws s3 sync
if BRANCH_NAME
satisfies regex ^[a-zA-Z0-9]\.[a-zA-Z0-9]\.[a-zA-Z0-9]$
then RELEASE_VERSION
will be like 1.0.0
otherwise RELEASE_VERSION
will be like branchname-202002041154