mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
Preserve release zip if GP release creation failed
This commit is contained in:
parent
f561b97cff
commit
585c87ae99
1 changed files with 12 additions and 0 deletions
12
.github/workflows/create_release.yml
vendored
12
.github/workflows/create_release.yml
vendored
|
@ -211,6 +211,7 @@ jobs:
|
||||||
|
|
||||||
# TODO: create whatsnew folder and move release notes there
|
# TODO: create whatsnew folder and move release notes there
|
||||||
- name: Create Google Play release
|
- name: Create Google Play release
|
||||||
|
id: create-google-play-release-step
|
||||||
uses: r0adkll/upload-google-play@v1.1.1
|
uses: r0adkll/upload-google-play@v1.1.1
|
||||||
with:
|
with:
|
||||||
serviceAccountJsonPlainText: ${{ secrets.GH_ACTIONS_SERVICE_ACCOUNT_JSON }}
|
serviceAccountJsonPlainText: ${{ secrets.GH_ACTIONS_SERVICE_ACCOUNT_JSON }}
|
||||||
|
@ -221,6 +222,17 @@ jobs:
|
||||||
userFraction: 1.0
|
userFraction: 1.0
|
||||||
debugSymbols: merged_native_libs.zip
|
debugSymbols: merged_native_libs.zip
|
||||||
whatsNewDirectory: whatsnew
|
whatsNewDirectory: whatsnew
|
||||||
|
|
||||||
|
- name: Zip app bundle and merged_native_libs
|
||||||
|
if: ${{ failure() && steps.create-google-play-release-step.conclusion == 'failure' }}
|
||||||
|
run: zip m3_lightmeter_release.zip app-prod-release.aab merged_native_libs.zip
|
||||||
|
|
||||||
|
- name: Upload release zip to artifacts
|
||||||
|
if: ${{ failure() && steps.create-google-play-release-step.conclusion == 'failure' }}
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: m3_lightmeter_release
|
||||||
|
path: m3_lightmeter_release.zip
|
||||||
|
|
||||||
- name: Delete app bundle & merged native libs artifacts
|
- name: Delete app bundle & merged native libs artifacts
|
||||||
uses: geekyeggo/delete-artifact@v2
|
uses: geekyeggo/delete-artifact@v2
|
||||||
|
|
Loading…
Reference in a new issue