GHA: Test Akamai purge cache

This commit is contained in:
aboyko
2023-11-14 21:18:13 -05:00
parent cbb47df8c5
commit 5f94c6fb67

View File

@@ -35,7 +35,8 @@ jobs:
role-skip-session-tagging: true
- name: Akamai Cache Purge via CLI
run: |
aws s3 ls s3://tools-spring-io/${{ inputs.path }} --recursive | awk '{$1=$2=$3=""; print $0}' | sed -e 's/^[ \t]*/https:\/\/cdn.spring.io\/spring-tools\//' | akamai purge invalidate
aws s3 ls s3://tools-spring-io/${{ inputs.path }} --recursive | awk '{$1=$2=$3=""; print $0}' | sed -e 's/^[ \t]*/https:\/\/cdn.spring.io\/spring-tools\//'
akamai purge invalidate https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
- name: Remove .edgerc file
if: ${{ always() }}
run: |