diff --git a/.github/workflows/cleanup-artifacts.yml b/.github/workflows/cleanup-artifacts.yml new file mode 100644 index 00000000..ade64d12 --- /dev/null +++ b/.github/workflows/cleanup-artifacts.yml @@ -0,0 +1,19 @@ +name: Generated APK Clean + +on: + workflow_dispatch: + + schedule: + # Every Monday at 1am + - cron: '0 1 * * 1' + +jobs: + remove-old-artifacts: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Clean all artifacts + uses: c-hive/gha-remove-artifacts@v1 + with: + age: '60 seconds' \ No newline at end of file