Pool2023 52 livraison 1 1 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
# - macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: 11 | |
cache: gradle | |
- name: Setup Android SDK | |
id: "setup-android" | |
uses: android-actions/setup-android@v2 | |
- name: Build Application | |
id: "android-build" | |
continue-on-error: true | |
shell: bash | |
#if: runner.os == 'ubuntu' | |
run: | | |
echo sdk.dir=/usr/local/lib/android/sdk >> PlugInPool/local.properties | |
cd PlugInPool && ./gradlew --no-daemon build |