Skip to content

Update Dependencies

Update Dependencies #7

name: Update Dependencies
on:
schedule:
- cron: '10 8 * * 3'
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: |
git checkout -b update-dependency
./gradlew versionCatalogUpdate
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."
commit-message: "Update version catalog"