Skip to content

Update Extensions DB #18

Update Extensions DB

Update Extensions DB #18

Workflow file for this run

name: Update Extensions DB
on:
schedule:
- cron: '0 0,12 * * *' # Schedule to run at 12:00 AM and 12:00 PM (UTC)
workflow_dispatch: # Allow manual triggering
jobs:
update-database:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up JDK (v17)
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Run the Update
run: java -jar Extensions/Application/Binary/Extensions.jar -update
- name: Commit and Push Changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update database" || true # Commit changes if any
git push origin HEAD:main