From 15686189544de037931d276d4ec99c85fda68c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Fri, 9 Dec 2022 11:06:18 +0100 Subject: [PATCH] Remove workflow cancellation when generating images (#4547) * Remove workflow cancellation We should be able to run multiple images build jobs at once. * Leave 32 releases --- .github/workflows/build-images.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 603f514b55..195bf772d7 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -62,31 +62,17 @@ env: jobs: - - Cancel: - name: "Cancel currently active" - if: ${{ github.repository_owner == 'Armbian' && github.event.schedule == '' }} - runs-on: small - timeout-minutes: 3 - steps: - - uses: styfle/cancel-workflow-action@0.11.0 - if: ${{ github.event.schedule == '' }} - with: - all_but_latest: true - access_token: ${{ secrets.GITHUB_TOKEN }} - clean: if: ${{ github.repository_owner == 'Armbian' }} name: Purge older releases - needs: [ Cancel ] runs-on: [ubuntu-latest] steps: - name: Purge old releases of trunk build uses: Vucko130/delete-older-releases@v0.2.1 with: - keep_latest: 7 + keep_latest: 32 delete_tag_pattern: trunk env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}