From fe6b5159f54028e13ce98a3b3f05c38d8625c5e8 Mon Sep 17 00:00:00 2001 From: Hammanek Date: Tue, 27 Aug 2024 11:40:48 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45188fb..e441b9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,11 @@ on: push -steps: -- uses: actions/checkout@v3 -- uses: Nats-ji/delete-old-releases@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - keep-count: 5 - keep-old-minor-releases: true - keep-old-minor-releases-count: 1 +jobs: + delete_old_releases: + steps: + - uses: actions/checkout@v3 + - uses: Nats-ji/delete-old-releases@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + keep-count: 5 + keep-old-minor-releases: true + keep-old-minor-releases-count: 1