From 966a3c676cfc535ab765e16599ebcbec93aaa96b Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 9 Aug 2023 16:35:19 +0200 Subject: [PATCH] Extract merged native libs directly in GP release job --- .github/workflows/create_release.yml | 33 +++++----------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 344baea..71248ac 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -177,9 +177,10 @@ jobs: with: name: m3_lightmeter_apk - extract-merged-native-libs: - name: Extract merged native libraries - needs: [build] + create-google-play-release: + name: Create Google Play release + if: github.ref_name == 'main' + needs: [generate-release-notes] runs-on: ubuntu-latest steps: - name: Download app bundle @@ -192,28 +193,6 @@ jobs: unzip app-prod-release.aab (cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .) - - name: Upload merged native libs to artifacts - uses: actions/upload-artifact@v3 - with: - name: merged_native_libs - path: merged_native_libs.zip - - create-google-play-release: - name: Create Google Play release - if: github.ref_name == 'main' - needs: [generate-release-notes, extract-merged-native-libs] - runs-on: ubuntu-latest - steps: - - name: Download app bundle - uses: actions/download-artifact@v3 - with: - name: m3_lightmeter_bundle - - - name: Download merged native libs - uses: actions/download-artifact@v3 - with: - name: merged_native_libs - - name: Download release notes uses: actions/download-artifact@v3 with: @@ -253,9 +232,7 @@ jobs: if: ${{ always() }} uses: geekyeggo/delete-artifact@v2 with: - name: | - m3_lightmeter_bundle - merged_native_libs + name: m3_lightmeter_bundle cleanup: name: Cleanup