Skip to content

Update Dependencies

Update Dependencies #1

name: Update Dependencies
on:
schedule:
- cron: '30 14 * * 1'
jobs:
version-update:
runs-on: macos-latest
environment: Dev
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download & Copy local.properties
run: |
curl -o local.properties "${{ secrets.LOCAL_PROPERTIES_URL }}"
mv local.properties ./local.properties
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
- name: Version Update
run: |
./gradlew versionCatalogUpdate
git config --global user.email "[email protected]"
git config --global user.name "odaridavid"
git checkout -b update-dependency
git add .
git commit -m "Update version catalog"
git push origin update-dependency
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-dependency
base: develop
title: "Update Version Catalog"
body: "Automated version update using GitHub Actions."