GHA: wipe out temp build artifacts
This commit is contained in:
22
.github/workflows/wipe-out-temp-build-artifacts.yml
vendored
Normal file
22
.github/workflows/wipe-out-temp-build-artifacts.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Wipe out temp build artifacts
|
||||
|
||||
# configure manual trigger
|
||||
on:
|
||||
workflow_dispatch:
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
|
||||
jobs:
|
||||
cleanup:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Remove Temp Build Artifacts from S3
|
||||
id: cleanup-s3-temp-storage
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLS_S3_ACCESS_KEY }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLS_S3_SECRET_KEY }}
|
||||
run: |
|
||||
aws s3 rm s3://dist.springsource.com/sts4-distro-ci-temp --recursive --exclude "*" --include "*.zip"
|
||||
|
||||
Reference in New Issue
Block a user