mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
delete ipa after upload
This commit is contained in:
parent
e376391529
commit
bffa598493
1 changed files with 7 additions and 13 deletions
20
.github/workflows/create_release.yml
vendored
20
.github/workflows/create_release.yml
vendored
|
@ -181,19 +181,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: Delete appbundle artifact
|
||||||
- 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
|
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: geekyeggo/delete-artifact@v2
|
uses: geekyeggo/delete-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
@ -216,6 +204,12 @@ jobs:
|
||||||
- name: Upload app to TestFlight
|
- name: Upload app to TestFlight
|
||||||
run: xcrun altool --upload-app -f lightmeter.ipa -t ios -u ${{ secrets.APP_STORE_USERNAME }} -p ${{ secrets.APP_STORE_PASSWORD }}
|
run: xcrun altool --upload-app -f lightmeter.ipa -t ios -u ${{ secrets.APP_STORE_USERNAME }} -p ${{ secrets.APP_STORE_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Delete ipa artifact
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: geekyeggo/delete-artifact@v2
|
||||||
|
with:
|
||||||
|
name: m3_lightmeter_ipa
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Cleanup
|
name: Cleanup
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
Loading…
Reference in a new issue