mirror of
https://github.com/bitwarden/android.git
synced 2025-02-17 12:30:00 +03:00
[PM-12322] Remove branch restriction for distributing to Firebase (#3996)
This commit is contained in:
parent
d60c534e06
commit
75819cce3c
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -347,11 +347,11 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Install Firebase app distribution plugin
|
- name: Install Firebase app distribution plugin
|
||||||
if: ${{ matrix.variant == 'prod' && github.ref_name == 'main' && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
if: ${{ matrix.variant == 'prod' && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
||||||
run: bundle exec fastlane add_plugin firebase_app_distribution
|
run: bundle exec fastlane add_plugin firebase_app_distribution
|
||||||
|
|
||||||
- name: Publish release artifacts to Firebase
|
- name: Publish release artifacts to Firebase
|
||||||
if: ${{ matrix.variant == 'prod' && matrix.artifact == 'apk' && github.ref_name == 'main' && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
if: ${{ matrix.variant == 'prod' && matrix.artifact == 'apk' && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
||||||
env:
|
env:
|
||||||
APP_PLAY_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
|
APP_PLAY_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
|
||||||
run: |
|
run: |
|
||||||
|
@ -360,7 +360,7 @@ jobs:
|
||||||
service_credentials_file:${{ env.APP_PLAY_FIREBASE_CREDS_PATH }}
|
service_credentials_file:${{ env.APP_PLAY_FIREBASE_CREDS_PATH }}
|
||||||
|
|
||||||
- name: Publish beta artifacts to Firebase
|
- name: Publish beta artifacts to Firebase
|
||||||
if: ${{ (matrix.variant == 'prod' && matrix.artifact == 'apk') && github.ref_name == 'main' && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
if: ${{ (matrix.variant == 'prod' && matrix.artifact == 'apk') && (inputs.distribute-to-firebase || github.event_name == 'push') }}
|
||||||
env:
|
env:
|
||||||
APP_PLAY_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
|
APP_PLAY_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_play_prod_firebase-creds.json
|
||||||
run: |
|
run: |
|
||||||
|
@ -519,11 +519,11 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Install Firebase app distribution plugin
|
- name: Install Firebase app distribution plugin
|
||||||
if: ${{ github.ref_name == 'main' && inputs.distribute_to_firebase }}
|
if: ${{ inputs.distribute_to_firebase || github.event_name == 'push' }}
|
||||||
run: bundle exec fastlane add_plugin firebase_app_distribution
|
run: bundle exec fastlane add_plugin firebase_app_distribution
|
||||||
|
|
||||||
- name: Publish release F-Droid artifacts to Firebase
|
- name: Publish release F-Droid artifacts to Firebase
|
||||||
if: ${{ github.ref_name == 'main' && inputs.distribute_to_firebase }}
|
if: ${{ inputs.distribute_to_firebase || github.event_name == 'push' }}
|
||||||
env:
|
env:
|
||||||
APP_FDROID_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_fdroid_firebase-creds.json
|
APP_FDROID_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_fdroid_firebase-creds.json
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue