Create whatsnew folder

This commit is contained in:
Vadim 2023-08-09 12:15:01 +02:00
parent 585c87ae99
commit 82942c09e5

View file

@ -209,7 +209,11 @@ jobs:
merged_native_libs merged_native_libs
whatsnew-en-US whatsnew-en-US
# TODO: create whatsnew folder and move release notes there - name: Move release notes to a folder
run: |
mkdir whatsnew
mv whatsnew-en-US.md whatsnew
- name: Create Google Play release - name: Create Google Play release
id: create-google-play-release-step id: create-google-play-release-step
uses: r0adkll/upload-google-play@v1.1.1 uses: r0adkll/upload-google-play@v1.1.1
@ -223,6 +227,7 @@ jobs:
debugSymbols: merged_native_libs.zip debugSymbols: merged_native_libs.zip
whatsNewDirectory: whatsnew whatsNewDirectory: whatsnew
# https://docs.github.com/en/actions/learn-github-actions/expressions#failure-with-conditions
- name: Zip app bundle and merged_native_libs - name: Zip app bundle and merged_native_libs
if: ${{ failure() && steps.create-google-play-release-step.conclusion == 'failure' }} if: ${{ failure() && steps.create-google-play-release-step.conclusion == 'failure' }}
run: zip m3_lightmeter_release.zip app-prod-release.aab merged_native_libs.zip run: zip m3_lightmeter_release.zip app-prod-release.aab merged_native_libs.zip
@ -235,6 +240,7 @@ jobs:
path: m3_lightmeter_release.zip path: m3_lightmeter_release.zip
- name: Delete app bundle & merged native libs artifacts - name: Delete app bundle & merged native libs artifacts
if: ${{ always() }}
uses: geekyeggo/delete-artifact@v2 uses: geekyeggo/delete-artifact@v2
with: with:
name: | name: |
@ -243,6 +249,7 @@ jobs:
cleanup: cleanup:
name: Cleanup name: Cleanup
if: ${{ always() }}
needs: [create-github-release, create-google-play-release] needs: [create-github-release, create-google-play-release]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: