From 69b67d3bb44ab25f118c7e245972d226f2b9a4d0 Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 9 Aug 2023 16:12:35 +0200 Subject: [PATCH] Download each artifact separately --- .github/workflows/create_release.yml | 30 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index ca00c25..6cef489 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -152,16 +152,19 @@ jobs: permissions: contents: write steps: - - name: Download apk & release notes + - name: Download apk uses: actions/download-artifact@v3 with: - name: | - m3_lightmeter_apk - whatsnew-en-US + name: m3_lightmeter_apk - name: Rename apk run: mv app-prod-release.apk m3_lightmeter.apk + - name: Download release notes + uses: actions/download-artifact@v3 + with: + name: whatsnew-en-US + - uses: ncipollo/release-action@v1.12.0 with: artifacts: "m3_lightmeter.apk" @@ -201,19 +204,26 @@ jobs: needs: [generate-release-notes, extract-merged-native-libs] runs-on: ubuntu-latest steps: - - name: Download app bundle & merged native libs + - name: Download app bundle uses: actions/download-artifact@v3 with: - name: | - m3_lightmeter_bundle - merged_native_libs - whatsnew-en-US + 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: + name: whatsnew-en-US - name: Move release notes to a folder run: | mkdir whatsnew mv whatsnew-en-US.md whatsnew - + - name: Create Google Play release id: create-google-play-release-step uses: r0adkll/upload-google-play@v1.1.1