Check Dependency Updates #126
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: Check Dependency Updates | |
on: | |
schedule: | |
- cron: "37 13 * * SAT" | |
workflow_dispatch: | |
jobs: | |
dependency-updates: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Check Dependency Updates | |
run: ./gradlew dependencyUpdates | |
- name: Log dependency update report | |
run: cat build/dependencyUpdates/dependency_update_report.txt | |
- name: Save report | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dependency-update-reports | |
path: build/dependencyUpdates |