GHA: Use aws cli to dryrun upload p2 repo
This commit is contained in:
@@ -110,8 +110,8 @@ jobs:
|
||||
run: |
|
||||
dist_path=`cat org.springframework.tooling.ls.integration.repository/target/s3-p2-repo-dist-path.txt`
|
||||
echo "Dist path: ${dist_path}"
|
||||
aws s3 rm s3://tools-spring-io/${dist_path}/ --recursive
|
||||
aws s3 mv ./org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive
|
||||
aws s3 rm s3://tools-spring-io/${dist_path}/ --recursive --dryrun
|
||||
aws s3 mv ./org.springframework.tooling.ls.integration.repository/target/repository/ s3://dist.springsource.com/${dist_path}/ --recursive --dryrun
|
||||
- name: Clear S3 Caches
|
||||
if: ${{ inputs.build_type != 'snapshot' }}
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user