Skip to content

Added workflow concurrency and stacktrace param #66

Added workflow concurrency and stacktrace param

Added workflow concurrency and stacktrace param #66

Workflow file for this run

name: Gradle
on:
push:
branches: master
pull_request:
branches: master
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Create google-services.json
env:
GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $GOOGLE_SERVICES > $GITHUB_WORKSPACE/app/google-services.json
- name: Build with Gradle
run: ./gradlew build --stacktrace