Only distribute F-Droid to Firebase when requested (#1426)

This commit is contained in:
Patrick Honkonen 2024-06-05 11:38:50 -04:00 committed by Álison Fernandes
parent 44c2de692e
commit 96864f6592

View file

@ -495,10 +495,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 }}
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' }} if: ${{ github.ref_name == 'main' && inputs.distribute_to_firebase }}
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: |