Skip to content

Fix index out of bounds (#5203) #12179

Fix index out of bounds (#5203)

Fix index out of bounds (#5203) #12179

Workflow file for this run

name: Android CI
on:
push:
branches:
- master
- bugfix/*
- feature/*
pull_request_target:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
- name: Make Gradle executable
run: chmod +x ./gradlew
- name: Set mapbox token
env:
MAPBOX_DOWNLOADS_TOKEN: ${{ secrets.MAPBOX_DOWNLOADS_TOKEN }}
shell: bash
run: echo MAPBOX_DOWNLOADS_TOKEN=${MAPBOX_DOWNLOADS_TOKEN} >> gradle.properties
- name: Create google-service.json file
run: cat /home/runner/work/android-app/android-app/app/src/debug/google-services.json | base64
- name: Set google-service.json data
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA > /home/runner/work/android-app/android-app/app/src/debug/google-services.json
- name: Build
run: ./gradlew clean assembleDebug --stacktrace