Skip to content

Added a new GitHub Actions job to create google-services.json dynamically #11

Added a new GitHub Actions job to create google-services.json dynamically

Added a new GitHub Actions job to create google-services.json dynamically #11

Workflow file for this run

name: Run Tests
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
create-service-json:
uses: ./.github/workflows/create-service-json.yml
secrets: inherit
run-tests:
uses: ./.github/workflows/run-tests.yml
needs: create-service-json
secrets: inherit
# It allow to remove artifacts created to use between workflows (google service json, bundles, etc)
remove-artifacts:
uses: ./.github/workflows/clean-up-artifacts.yml
needs: run-tests
# Run this job even if "needs" job is failed
if: ${{ always() && contains(needs.*.result, 'failure') }}
secrets: inherit