From 137a152a92a457fcbd09a6fda265cb22f17eedb9 Mon Sep 17 00:00:00 2001 From: Armbianworker Date: Sat, 6 Jan 2024 23:18:00 +0000 Subject: [PATCH] Update generated GHA chunk workflow artifact-image-complete-matrix.yml --- .../workflows/complete-artifact-matrix-all.yml | 14 ++++++++++++++ ...lete-artifact-matrix-community-maintained.yml | 14 ++++++++++++++ .../complete-artifact-matrix-nightly.yml | 16 +++++++++++++++- ...complete-artifact-matrix-standard-support.yml | 14 ++++++++++++++ 4 files changed, 57 insertions(+), 1 deletion(-) diff --git a/.github/workflows/complete-artifact-matrix-all.yml b/.github/workflows/complete-artifact-matrix-all.yml index 54d9c0a7..ee08e18f 100644 --- a/.github/workflows/complete-artifact-matrix-all.yml +++ b/.github/workflows/complete-artifact-matrix-all.yml @@ -406,6 +406,20 @@ jobs: #- name: Runner clean # uses: armbian/actions/runner-clean@main + - name: "Clean old releases" + uses: sgpublic/delete-release-action@v1.1 + with: + release-drop: true + release-keep-count: 14 + release-drop-tag: true + pre-release-drop: true + pre-release-keep-count: -1 + pre-release-drop-tag: true + draft-drop: true + draft-drop-count: -1 + env: + GITHUB_TOKEN: "${{ env.GH_TOKEN }}" + # Clone the userpatches repo (`armbian/os`) - name: "Checkout userpatches repo: ${{env.USERPATCHES_REPOSITORY}}#${{env.USERPATCHES_REF}}" uses: actions/checkout@v4 diff --git a/.github/workflows/complete-artifact-matrix-community-maintained.yml b/.github/workflows/complete-artifact-matrix-community-maintained.yml index e0b81758..de3bc289 100644 --- a/.github/workflows/complete-artifact-matrix-community-maintained.yml +++ b/.github/workflows/complete-artifact-matrix-community-maintained.yml @@ -316,6 +316,20 @@ jobs: #- name: Runner clean # uses: armbian/actions/runner-clean@main + - name: "Clean old releases" + uses: sgpublic/delete-release-action@v1.1 + with: + release-drop: true + release-keep-count: 14 + release-drop-tag: true + pre-release-drop: true + pre-release-keep-count: -1 + pre-release-drop-tag: true + draft-drop: true + draft-drop-count: -1 + env: + GITHUB_TOKEN: "${{ env.GH_TOKEN }}" + # Clone the userpatches repo (`armbian/os`) - name: "Checkout userpatches repo: ${{env.USERPATCHES_REPOSITORY}}#${{env.USERPATCHES_REF}}" uses: actions/checkout@v4 diff --git a/.github/workflows/complete-artifact-matrix-nightly.yml b/.github/workflows/complete-artifact-matrix-nightly.yml index 3671082d..4e389c98 100644 --- a/.github/workflows/complete-artifact-matrix-nightly.yml +++ b/.github/workflows/complete-artifact-matrix-nightly.yml @@ -270,6 +270,20 @@ jobs: #- name: Runner clean # uses: armbian/actions/runner-clean@main + - name: "Clean old releases" + uses: sgpublic/delete-release-action@v1.1 + with: + release-drop: true + release-keep-count: 14 + release-drop-tag: true + pre-release-drop: true + pre-release-keep-count: -1 + pre-release-drop-tag: true + draft-drop: true + draft-drop-count: -1 + env: + GITHUB_TOKEN: "${{ env.GH_TOKEN }}" + # Clone the userpatches repo (`armbian/os`) - name: "Checkout userpatches repo: ${{env.USERPATCHES_REPOSITORY}}#${{env.USERPATCHES_REF}}" uses: actions/checkout@v4 @@ -355,7 +369,7 @@ jobs:  

" > body.html - - uses: ncipollo/release-action@v1.13.0 + - uses: ncipollo/release-action@v1 if: ${{ (github.event.inputs.nightlybuild || 'yes') == 'yes' && (github.event.inputs.skipImages || 'no') != 'yes' }} with: repo: "${{ env.RELEASE_REPOSITORY }}" diff --git a/.github/workflows/complete-artifact-matrix-standard-support.yml b/.github/workflows/complete-artifact-matrix-standard-support.yml index 78978461..ce88ba09 100644 --- a/.github/workflows/complete-artifact-matrix-standard-support.yml +++ b/.github/workflows/complete-artifact-matrix-standard-support.yml @@ -248,6 +248,20 @@ jobs: #- name: Runner clean # uses: armbian/actions/runner-clean@main + - name: "Clean old releases" + uses: sgpublic/delete-release-action@v1.1 + with: + release-drop: true + release-keep-count: 14 + release-drop-tag: true + pre-release-drop: true + pre-release-keep-count: -1 + pre-release-drop-tag: true + draft-drop: true + draft-drop-count: -1 + env: + GITHUB_TOKEN: "${{ env.GH_TOKEN }}" + # Clone the userpatches repo (`armbian/os`) - name: "Checkout userpatches repo: ${{env.USERPATCHES_REPOSITORY}}#${{env.USERPATCHES_REF}}" uses: actions/checkout@v4