Update Modrinth Releases #929
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: 'Update Modrinth Releases' | |
on: | |
repository_dispatch: | |
types: | |
- update-modrinth-releases | |
workflow_dispatch: | |
schedule: | |
- cron: '30 5,17 * * *' | |
permissions: | |
contents: write | |
jobs: | |
update_github_releases: | |
name: Update Modrinth Release Index | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
concurrency: | |
group: update-releases | |
cancel-in-progress: false | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm run index-modrinth-releases | |
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a | |
with: | |
commit_message: Updated Modrinth Release-Index | |