android-dependency-updates #100
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-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 |