Update CurseForge versions #46
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 CurseForge versions | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "41 18 * * 1" | |
jobs: | |
update-versions: | |
name: Update versions | |
env: | |
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: ./.github/actions/setup_gradle | |
- name: Run tasks | |
run: | | |
./gradlew \ | |
updateVersionsCf | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
title: 'Update CurseForge versions file' | |
commit-message: 'Update CurseForge versions file' | |
branch: 'update/versions_cf' | |
delete-branch: true | |
labels: | | |
dependencies |