Script for updating map names

This commit is contained in:
Anuken
2026-07-05 13:22:23 -04:00
parent 2fb28e589a
commit 8b64aebe27
6 changed files with 109 additions and 8 deletions
+4 -3
View File
@@ -41,16 +41,17 @@ jobs:
git commit -m "Automatic bundle update"
git push
fi
- name: Update scripts and class mappings
- name: Update scripts, class mappings and map names
if: ${{ github.repository == 'Anuken/Mindustry' }}
run: |
./gradlew updateScripts
./gradlew updateScripts fixMaps
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/scripts/* core/src/mindustry/mod/ClassMap.java
git commit -m "Automatic class mapping update"
git add core/assets/maps/*
git commit -m "Automatic class mapping and map name update"
git push
fi
- name: Update JITpack repo