Delete all artefacts after GP release

This commit is contained in:
Vadim 2023-08-08 11:53:51 +02:00
parent 7db3c6bded
commit 8107a6a3bf

View file

@ -163,20 +163,11 @@ jobs:
unzip app-prod-release.aab unzip app-prod-release.aab
(cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .) (cd base/lib && zip -r "$OLDPWD/merged_native_libs.zip" .)
- name: Zip app bundle and merged_native_libs - name: Upload merged native libs to artifacts
run: zip m3_lightmeter_release.zip app-prod-release.aab merged_native_libs.zip
- name: Upload merged_native_libs.zip to artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: m3_lightmeter_release name: merged_native_libs
path: m3_lightmeter_release.zip path: merged_native_libs.zip
# TODO: this should be moved to `create-google-play-release` step when it is implemented
- name: Delete no longer used app bundle artifact
uses: geekyeggo/delete-artifact@v2
with:
name: m3_lightmeter_bundle
# TODO: Automate Google Play releases creation # TODO: Automate Google Play releases creation
create-google-play-release: create-google-play-release:
@ -193,15 +184,14 @@ jobs:
merged_native_libs merged_native_libs
- name: Create Google Play release - name: Create Google Play release
uses: r0adkll/upload-google-play@v1 uses: r0adkll/upload-google-play@v1.1.1
with: with:
serviceAccountJsonPlainText: #TODO: serviceAccountJsonPlainText: #TODO:
packageName: com.vodemn.lightmeter packageName: com.vodemn.lightmeter
releaseFiles: app-prod-release.aab releaseFiles: app-prod-release.aab
track: production track: production
status: inProgress status: draft
userFraction: 1.0 userFraction: 1.0
whatsNewDirectory: #TODO:
debugSymbols: merged_native_libs.zip debugSymbols: merged_native_libs.zip
- name: Delete no longer used app bundle & merged native libs artifacts - name: Delete no longer used app bundle & merged native libs artifacts