GHA: S3 command adjustments
This commit is contained in:
@@ -130,18 +130,19 @@ jobs:
|
||||
dist_path=`cat s3-dist-path.txt`
|
||||
|
||||
echo "S3 contents:"
|
||||
aws s3 ls s3://dist.springsource.com/${dist_path}/
|
||||
aws s3 ls s3://dist.springsource.com/${dist_path}
|
||||
|
||||
echo "Processing S3 update..."
|
||||
|
||||
ls spring-tool-suite-4*win*.zip*
|
||||
echo "Removing old win zip files from s3..."
|
||||
aws s3 rm s3://dist.springsource.com/${dist_path}/ --exclude "*" --include "spring-tool-suite-4*win*.zip*"
|
||||
echo "Uploading new win zip files to s3..."
|
||||
aws s3 cp s3://dist.springsource.com/${dist_path}/ . --exclude "*" --include "spring-tool-suite-4*win*.zip*" --acl public-read
|
||||
|
||||
ls spring-tool-suite-4*win*.jar*
|
||||
echo "Removing old self extractable win jar files from s3..."
|
||||
aws s3 rm s3://dist.springsource.com/${dist_path}/ --exclude "*" --include "spring-tool-suite-4*win*.jar*"
|
||||
echo "Uploading new self extractable win jar files to s3..."
|
||||
aws s3 cp s3://dist.springsource.com/${dist_path}/ . --exclude "*" --include "spring-tool-suite-4*win*.jar*" --acl public-read
|
||||
echo "Removing old win zip and self extracting jar files from s3..."
|
||||
aws s3 rm s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*"
|
||||
echo "Uploading new win zip and self extracting jar files to s3..."
|
||||
aws s3 cp s3://dist.springsource.com/${dist_path} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.zip*" --include "spring-tool-suite-4*win*.self-extracting.jar*" --acl public-read
|
||||
|
||||
# ls spring-tool-suite-4*win*.jar*
|
||||
# echo "Removing old self extractable win jar files from s3..."
|
||||
# aws s3 rm s3://dist.springsource.com/${dist_path} --recursive --exclude "*" --include "spring-tool-suite-4*win*.jar*"
|
||||
# echo "Uploading new self extractable win jar files to s3..."
|
||||
# aws s3 cp s3://dist.springsource.com/${dist_path} . --recursive --exclude "*" --include "spring-tool-suite-4*win*.jar*" --acl public-read
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Eclipse Distro STS Build
|
||||
name: Eclipse Distro STS Build (Self Hosted)
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
Reference in New Issue
Block a user