ci: Remove now unnecessary way of cleaning up old artifacts

This commit is contained in:
Tyler Wilding 2020-10-16 22:00:46 -04:00 committed by refractionpcsx2
parent 75606fd1a9
commit fd5378d9c1
2 changed files with 1 additions and 24 deletions

View File

@ -1,24 +0,0 @@
name: Remove Old Artifacts
# NOTE - Cleaning artifacts is necessary, storage is limited and the default, not configurable time window is 90 days
# this is likely too long, so this action will periodically cleanup old artifacts
# - https://github.com/marketplace/actions/remove-artifacts
# There is a _lot_ of confusion around the limit for artifacts though - https://github.com/godotengine/godot-proposals/issues/1412#issuecomment-680173450
# - So likely something we want to bake for a while and see how it goes.
on:
schedule:
# Every day at 1am
- cron: "0 1 * * *"
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 month"
skip-tags: true

View File

@ -105,3 +105,4 @@ jobs:
with: with:
name: PCSX2-${{ matrix.platform }}-${{ steps.git-vars.outputs.artifact-metadata }} name: PCSX2-${{ matrix.platform }}-${{ steps.git-vars.outputs.artifact-metadata }}
path: bin path: bin
retention-days: 30 # https://docs.github.com/en/free-pro-team@latest/actions/reference/usage-limits-billing-and-administration#artifact-and-log-retention-policy