Sync with betterncm database. #15578
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: Sync with betterncm database. | |
on: | |
push: | |
branches: [ "main" ] | |
schedule: | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Sync with betterncm database. | |
run: wget -O ./versions.json https://betterncm.microblock.cc/api/getPluginDownloadsReal | |
- name: Commit it back to repo. | |
uses: stefanzweifel/git-auto-commit-action@v4.14.1 | |
with: | |
commit_message: Sync with betterncm database. | |
commit_author: Author <actions@github.com> |