ci: clean artifacts, move flatpak to release tip

This commit is contained in:
Mitchell Hashimoto
2023-02-27 14:54:44 -08:00
parent dcff7c2998
commit b25adb3bdf
3 changed files with 61 additions and 36 deletions

17
.github/workflows/clean-artifacts.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Clean Artifacts
on:
schedule:
# Every 6 hours
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 week'
skip-tags: true
skip-recent: 5