From 1bf3cde537b2dbee06373d378a7be37ce3a3e8c6 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Sat, 30 Nov 2024 18:18:48 +1300 Subject: [PATCH] Remove unsigned --- .github/workflows/prod-android.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-android.yml b/.github/workflows/prod-android.yml index eb92b9d4..75796cea 100644 --- a/.github/workflows/prod-android.yml +++ b/.github/workflows/prod-android.yml @@ -66,7 +66,13 @@ jobs: - name: Make release dir run: mkdir app/release - + + - name: Delete unsigned files + run: | + rm app/build/outputs/*unsigned.apk + rm app/build/outputs/*unsigned.aab + continue-on-error: true + - name: Move files to release run: | mv app/build/outputs/*signed.aab app/release/ @@ -76,7 +82,7 @@ jobs: run: rm app/release/*temp* continue-on-error: true - - name: Remove unsigned + - name: Remove unsigned from file name run: cd app/release/ && for file in *-unsigned*; do mv "$file" "${file//-unsigned/}"; done continue-on-error: true