From 6c6509f020ec78e640e238e2eeb824d2b41c7a6e Mon Sep 17 00:00:00 2001 From: Igor Date: Sun, 7 Jan 2024 00:08:19 +0100 Subject: [PATCH] Update xx.yml --- .github/workflows/xx.yml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/workflows/xx.yml b/.github/workflows/xx.yml index f6e361868c7e..ba33aac4ef15 100644 --- a/.github/workflows/xx.yml +++ b/.github/workflows/xx.yml @@ -11,22 +11,23 @@ on: - workflow - releases - jobs: + build: - name: "Build generic Armbian X86 SDK" - runs-on: ubuntu-latest - steps: - - uses: sgpublic/delete-release-action@v1.1 - with: - # repo: '/' # you can input a another repo here, defaults to current repo - release-drop: true - release-keep-count: 2 - 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: ${{ secrets.TOKEN }} + name: Recreate action + if: ${{ github.repository_owner == 'Armbian' }} + runs-on: linux + steps: + - uses: sgpublic/delete-release-action@v1.1 + with: + # repo: '/' # you can input a another repo here, defaults to current repo + release-drop: true + release-keep-count: 2 + 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: ${{ secrets.TOKEN }}