Skip to content

🎧 Your Personal Streaming Service

Set retention time for uploaded artifacts to 7 days

Deluan25d62cd7516e
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index b47d2da35..a421eac6a 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -104,6 +104,7 @@ jobs:
with:
name: js-bundle
path: ui/build
+ retention-days: 7
binaries:
name: Binaries
@@ -149,6 +150,7 @@ jobs:
dist
!dist/*.tar.gz
!dist/*.zip
+ retention-days: 7
docker:
name: Docker images
diff --git a/.github/workflows/remove-old-artifacts.yml b/.github/workflows/remove-old-artifacts.yml
deleted file mode 100644
index 822fff04f..000000000
--- a/.github/workflows/remove-old-artifacts.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: Remove old artifacts
-
-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: '7 days'
- skip-tags: false