diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dda88a64e..a6fddff88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -495,10 +495,11 @@ jobs: if-no-files-found: error - name: Install Firebase app distribution plugin + if: ${{ github.ref_name == 'main' && inputs.distribute_to_firebase }} run: bundle exec fastlane add_plugin firebase_app_distribution - name: Publish release F-Droid artifacts to Firebase - if: ${{ github.ref_name == 'main' }} + if: ${{ github.ref_name == 'main' && inputs.distribute_to_firebase }} env: APP_FDROID_FIREBASE_CREDS_PATH: ${{ github.workspace }}/secrets/app_fdroid_firebase-creds.json run: |