From b30207bcb92396afc77c7456a68706adeecca50c Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Tue, 25 Nov 2025 13:40:38 +0100 Subject: [PATCH] Fix Android testapp release for immutable releases (#3970) --- .github/workflows/android-testapp-release.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android-testapp-release.yml b/.github/workflows/android-testapp-release.yml index 62b04c277..fa7e19ed6 100644 --- a/.github/workflows/android-testapp-release.yml +++ b/.github/workflows/android-testapp-release.yml @@ -17,7 +17,7 @@ jobs: - name: Create Release run: | gh release create android-testapp-${{ github.sha }} \ - --draft=false \ + --draft=true \ --prerelease=false \ --latest=false \ --title android-testapp-${{ github.sha }} @@ -58,8 +58,18 @@ jobs: - name: Upload debug symbols to sentry run: sentry-cli debug-files upload MapLibreAndroidTestApp - - name: Upload Linux artifact + - name: Upload test app run: | gh release upload android-testapp-${{ github.sha }} MapLibreAndroidTestApp/build/outputs/apk/${{ matrix.renderer }}/release/MapLibreAndroidTestApp-${{ matrix.renderer }}-release.apk env: GH_TOKEN: ${{ github.token }} + + finish-android-testapp-release: + needs: [android-build-testapp] + runs-on: ubuntu-latest + steps: + - name: Finalize release (set draft=false) + run: | + gh release edit android-testapp-${{ github.sha }} --draft=false + env: + GH_TOKEN: ${{ github.token }}