From f1bb50c802b2001b6f5f4bc588622ed0ca0d6ead Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sun, 4 Sep 2022 23:42:47 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Remove=20older=20release=20befor?= =?UTF-8?q?e=20uploading=20new?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 3d8d659..73bfa07 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -32,6 +32,12 @@ jobs: run: | echo ::set-output name=date::$(TZ='Asia/Kolkata' date +"%Y.%m.%d-%H.%M.%S") + - name: Delete Older Releases + uses: nikhilbadyal/ghaction-rm-releases@main + with: + github_token: ${{ secrets.GH_TOKEN }} + release_pattern: 'Build*' + - name: Upload Build Artifact uses: ncipollo/release-action@v1.10.0 with: