Compare commits

..

2 commits

Author SHA1 Message Date
Vadim
be98e8cf9e Delete no longer used artifacts 2023-08-05 15:41:53 +02:00
Vadim
283bba6ec2 More descriptive run name 2023-08-05 15:33:00 +02:00

View file

@ -5,6 +5,8 @@
name: Build prod .aab & .apk name: Build prod .aab & .apk
run-name: Release ${{ inputs.version }}
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@ -22,13 +24,6 @@ jobs:
runs-on: macos-11 runs-on: macos-11
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
# - uses: shaunco/ssh-agent@git-repo-mapping
# with:
# ssh-private-key: |
# ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
# repo-mappings: |
# github.com/vodemn/m3_lightmeter_iap
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
@ -151,6 +146,11 @@ jobs:
skipIfReleaseExists: true skipIfReleaseExists: true
tag: "v${{ github.event.inputs.version }}" tag: "v${{ github.event.inputs.version }}"
- name: Delete no longer used apk artifact
uses: geekyeggo/delete-artifact@v2
with:
name: m3_lightmeter_apk
extract-merged-native-libs: extract-merged-native-libs:
name: Extract merged native libraries name: Extract merged native libraries
needs: [build] needs: [build]
@ -179,6 +179,12 @@ jobs:
name: m3_lightmeter_release name: m3_lightmeter_release
path: m3_lightmeter_release.zip path: m3_lightmeter_release.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:
if: false if: false