Skip to content

Update CurseForge versions #35

Update CurseForge versions

Update CurseForge versions #35

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: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tasks
run: |
./gradlew \
updateVersionsCf
- name: Create PR
uses: peter-evans/create-pull-request@v6
with:
title: 'Update CurseForge versions file'
commit-message: 'Update CurseForge versions file'
branch: 'update/versions_cf'
delete-branch: true
labels: |
dependencies