Skip to content

New argument for Project Directory #27

New argument for Project Directory

New argument for Project Directory #27

Workflow file for this run

name: Build
on:
push:
pull_request:
branches: [ master ]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Change directory to Android SampleModule
run: cd ./SampleModule
- name: Changed access mode for gradle executable
run: chmod +x ./SampleModule/gradlew
- name: Build Debug configuration
uses: gradle/[email protected]
with:
arguments: --project-dir ./SampleModule assembleDebug
gradle-executable: ./SampleModule/gradlew