Skip to content

android-dependency-updates #97

android-dependency-updates

android-dependency-updates #97

name: android-dependency-updates
on:
schedule:
- cron: '30 23 * * 5'
permissions:
actions: write
repository-projects: write
jobs:
android-dependency-updates:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: set up staging configurations
run: |
chmod +x .github/scripts/pre-config.sh
chmod +x .github/scripts/staging-config.sh
bash .github/scripts/pre-config.sh
bash .github/scripts/staging-config.sh
- name: Gradle check for updates
run: ./gradlew dependencyUpdates --stacktrace
- name: Upload dependency updates report
uses: actions/upload-artifact@v4
with:
name: dependency-report
path: build/dependencyUpdates/report.json
retention-days: 7