name: Pull request builder

on:
  pull_request:
    branches: 
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
        
      - name: Prepare secrets
        run: expr '${{ secrets.GOOGLE_SERVICES_JSON }}' > app/google-services.json
          
      - name: set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Build with Gradle
        run: ./gradlew assembleDebug

name: Pull request builder

on:
  pull_request:
    branches: 
      - main
      - mainv4

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
        
      - name: Prepare secrets
        run: expr '${{ secrets.GOOGLE_SERVICES_JSON }}' > app/google-services.json
          
      - name: set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: Build with Gradle
        run: ./gradlew assembleDebug

Update GitHub Action to run on main and mainV4 branches
Update GitHub Action to run on main and mainV4 branches
