Skip to content

Update plugin android-library to v8.1.0 #690

Update plugin android-library to v8.1.0

Update plugin android-library to v8.1.0 #690

Workflow file for this run

name: CI
on:
pull_request:
jobs:
build:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.gradle/jdks
~/.konan
~/.android/build-cache
~/.android/cache
key: ${{ runner.os }}-build-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-
- run: ./gradlew assemble
- run: ./gradlew --continue check
- uses: actions/upload-artifact@v3
if: failure()
with:
name: test-failure
path: '**/build/reports/tests/'
retention-days: 5
- run: |
set -o xtrace
if [ ! -z "${{ secrets.SIGNING_KEY }}" ]; then
./gradlew \
-PVERSION_NAME="unspecified" \
-PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
-PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}" \
publishToMavenLocal
else
./gradlew \
-PVERSION_NAME="unspecified" \
-PRELEASE_SIGNING_ENABLED=false \
publishToMavenLocal
fi
- run: ./gradlew jacocoTestReport
- uses: EnricoMi/publish-unit-test-result-action/composite@v2
with:
junit_files: '**/build/test-results/**/*.xml'
report_individual_runs: 'true'
- uses: codecov/codecov-action@v3
- run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties