Skip to content

Update CurseForge versions #46

Update CurseForge versions

Update CurseForge versions #46

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