GHA: Test Akamai purge cache

This commit is contained in:
aboyko
2023-11-14 21:22:46 -05:00
parent 5f94c6fb67
commit 0e3511a813

View File

@@ -35,8 +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 https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
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
# akamai purge invalidate https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
- name: Remove .edgerc file
if: ${{ always() }}
run: |