mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
reuse Build iOS workflow
This commit is contained in:
parent
6f0efe4b39
commit
682658a283
2 changed files with 35 additions and 4 deletions
26
.github/workflows/build_ipa.yml
vendored
26
.github/workflows/build_ipa.yml
vendored
|
@ -3,11 +3,35 @@
|
|||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Build Prod .ipa
|
||||
name: Build iOS
|
||||
|
||||
run-name: Build .ipa v${{ inputs.version }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version"
|
||||
required: true
|
||||
type: string
|
||||
include-iap:
|
||||
type: boolean
|
||||
description: Include IAP package
|
||||
default: true
|
||||
stage-backend:
|
||||
type: boolean
|
||||
description: Use stage backend
|
||||
default: true
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version"
|
||||
required: true
|
||||
type: string
|
||||
include-iap:
|
||||
type: boolean
|
||||
description: Include IAP package
|
||||
default: true
|
||||
stage-backend:
|
||||
type: boolean
|
||||
description: Use stage backend
|
||||
|
|
13
.github/workflows/create_release.yml
vendored
13
.github/workflows/create_release.yml
vendored
|
@ -30,20 +30,27 @@ jobs:
|
|||
secrets: inherit
|
||||
|
||||
build-android:
|
||||
name: Build Android (${{ matrix.binary-type }})
|
||||
name: Build ${{ matrix.binary-type != 'ipa' && 'Android' || 'iOS' }} (.${{ matrix.binary-type }})
|
||||
needs: [run-integration-tests]
|
||||
runs-on: macos-11
|
||||
strategy:
|
||||
matrix:
|
||||
binary-type: [apk, appbundle]
|
||||
binary-type: [apk, appbundle, ipa]
|
||||
steps:
|
||||
- uses: ./.github/workflows/build_android.yml
|
||||
- uses: ./.github/workflows/build_apk.yml
|
||||
if: ${{ matrix.binary-type != 'ipa' }}
|
||||
with:
|
||||
binary-type: ${{ matrix.binary-type }}
|
||||
flavor: prod
|
||||
stage-backend: false
|
||||
version: ${{ inputs.version }}
|
||||
|
||||
- uses: ./.github/workflows/build_ipa.yml
|
||||
if: false
|
||||
with:
|
||||
stage-backend: false
|
||||
version: ${{ inputs.version }}
|
||||
|
||||
generate-release-notes:
|
||||
name: Generate release notes
|
||||
needs: [build-android]
|
||||
|
|
Loading…
Reference in a new issue