Skip to content

Commit

Permalink
Create CleanUp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenin0 authored Jun 13, 2024
1 parent 228678a commit 7dd365c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/CleanUp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Generated APK AAB (Clean)

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

schedule:
# Every day at 1am
- cron: '0 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' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
# Optional inputs
# skip-tags: true
# skip-recent: 5

0 comments on commit 7dd365c

Please sign in to comment.