Skip to content

Fix branch for Android gradle publish #388

Fix branch for Android gradle publish

Fix branch for Android gradle publish #388

Workflow file for this run

name: Android CI
on:
push:
branches: [ release/itwin-4.x ]
pull_request:
branches: [ release/itwin-4.x ]
jobs:
build:
runs-on: ubuntu-latest
environment: CI
steps:
- name: Checkout mobile-sdk-android
uses: actions/checkout@v3
with:
path: mobile-sdk-android
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build mobile-sdk-android
run: |
cd mobile-sdk-android
chmod +x gradlew
./gradlew detekt build
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}