Skip to content

chore(deps): bump android-actions/setup-android from 4.0.1 to 4.0.4 #3816

chore(deps): bump android-actions/setup-android from 4.0.1 to 4.0.4

chore(deps): bump android-actions/setup-android from 4.0.1 to 4.0.4 #3816

Workflow file for this run

name: "Checks the SDK only using APIs from the targeted API level"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-api-level:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
distribution: 'temurin'
java-version: 21
cache: gradle
- name: Setup Android SDK
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'
- name: Build SDK with Android project configuration
id: lint
run: ./gradlew --no-daemon build -Pandroid=true
- name: Upload linting results
if: failure() && steps.lint.outcome == 'failure'
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: lint-report
path: ./**/build/reports