mirror of https://github.com/PCSX2/pcsx2.git
ci: Remove now unnecessary way of cleaning up old artifacts
This commit is contained in:
parent
75606fd1a9
commit
fd5378d9c1
|
@ -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
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue