mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
Restore firebase_app_id_file.json
This commit is contained in:
parent
60343d3974
commit
fb94f88401
4 changed files with 48 additions and 22 deletions
37
.github/workflows/build.yml
vendored
Normal file
37
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
# This workflow uses actions that are not certified by GitHub.
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Build release
|
||||
|
||||
run-name: Build v${{ inputs.version }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version"
|
||||
required: true
|
||||
type: string
|
||||
binary-type:
|
||||
description: "Binary type"
|
||||
type: string
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
uses: ./.github/workflows/build_apk.yml
|
||||
if: ${{ inputs.binary-type != 'ipa' }}
|
||||
with:
|
||||
binary-type: ${{ inputs.binary-type }}
|
||||
flavor: prod
|
||||
stage-backend: false
|
||||
version: ${{ inputs.version }}
|
||||
|
||||
build-ios:
|
||||
uses: ./.github/workflows/build_ipa.yml
|
||||
if: ${{ inputs.binary-type == 'ipa' }}
|
||||
with:
|
||||
stage-backend: false
|
||||
version: ${{ inputs.version }}
|
2
.github/workflows/build_apk.yml
vendored
2
.github/workflows/build_apk.yml
vendored
|
@ -5,7 +5,7 @@
|
|||
|
||||
name: Build Android
|
||||
|
||||
run-name: Build ${{ inputs.binary-type == 'apk' && '.apk' || '.aab' }} v${{ inputs.version }}
|
||||
run-name: Build Android (${{ inputs.binary-type == 'apk' && '.apk' || '.aab' }}) v${{ inputs.version }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
|
8
.github/workflows/build_ipa.yml
vendored
8
.github/workflows/build_ipa.yml
vendored
|
@ -5,7 +5,7 @@
|
|||
|
||||
name: Build iOS
|
||||
|
||||
run-name: Build .ipa v${{ inputs.version }}
|
||||
run-name: Build iOS v${{ inputs.version }}
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
@ -87,9 +87,13 @@ jobs:
|
|||
- name: Restore GoogleService-Info.plist
|
||||
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.GOOGLE_SERVICES_JSON_IOS }}" "ios/Runner/GoogleService-Info.plist"
|
||||
|
||||
- name: Restore ios/Runner/ExportOptions.plist
|
||||
- name: Restore ExportOptions.plist
|
||||
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.APP_STORE_EXPORT_OPTIONS }}" "ios/Runner/ExportOptions.plist"
|
||||
|
||||
|
||||
- name: Restore firebase_app_id_file.json
|
||||
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_APP_ID_FILE }}" "ios/firebase_app_id_file.json"
|
||||
|
||||
- name: Restore firebase_options.dart
|
||||
run: bash .github/scripts/restore_from_base64.sh "${{ secrets.FIREBASE_OPTIONS }}" "lib/firebase_options.dart"
|
||||
|
||||
|
|
17
.github/workflows/create_release.yml
vendored
17
.github/workflows/create_release.yml
vendored
|
@ -33,27 +33,12 @@ jobs:
|
|||
build:
|
||||
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, ipa]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- uses: ./.github/workflows/build_apk.yml
|
||||
if: ${{ matrix.binary-type != 'ipa' }}
|
||||
uses: ./.github/workflows/build.yml
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue