Skip to content

Commit

Permalink
Auto update CurseForge versions (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
turikhay authored Feb 3, 2024
1 parent b0e9346 commit 6ffe7a4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/update-versions-cf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Upload pages

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/wrapper-validation-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- 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

0 comments on commit 6ffe7a4

Please sign in to comment.