name: "Prune old artifacts"
on:
  schedule:
    - cron: "0 * * * *"

jobs:
  delete-artifacts:
    runs-on: ubuntu-latest
    steps:
      - uses: kolpav/purge-artifacts-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          expire-in: 7days


Add workflow to automatically prune only build artifacts
[GH] Add workflow to automatically prune only build artifacts

Change-Id: I05cb871676bdb3fd873458f87594e9e1a9d11715
Test: GH Workflows

This is an imported pull request from https://github.com/androidx/androidx/pull/114.

Resolves #114
Github-Pr-Head-Sha: 1858bc0fe7f9055a0f36fff02cc7bd2b933df6e5
GitOrigin-RevId: 0e6521cb8aa95e9c3aa992c22937834a46d16593
Change-Id: Ia9cf1c4a4224b9d48ebad8a2316de9887d6afb15
