Added actions task to automatically update class mappings

This commit is contained in:
Anuken
2026-02-24 11:54:47 -05:00
parent 628efdc6f2
commit f0df12127f
2 changed files with 13 additions and 1 deletions

View File

@@ -41,6 +41,18 @@ jobs:
git commit -m "Automatic bundle update"
git push
fi
- name: Update scripts and class mappings
if: ${{ github.repository == 'Anuken/Mindustry' }}
run: |
./gradlew updateScripts
if [ -n "$(git status --porcelain)" ]; then
git config --global user.name "Github Actions"
git config --global user.email "actions@github.com"
git add core/assets/bundles/*
git commit -m "Automatic class mapping update"
git push
fi
- name: Update JITpack repo
if: ${{ github.repository == 'Anuken/Mindustry' }}
run: |

View File

@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=4acbc97ec1
archash=e096755fa5