Added bundle updates as part of commit

This commit is contained in:
Anuken 2021-11-22 11:52:08 -05:00
parent 521b0e1ec4
commit e0b14db778
2 changed files with 15 additions and 2 deletions

View file

@ -21,5 +21,16 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 17
- name: Update bundles
if: ${{ github.repository == 'Anuken/Mindustry' }}
run: |
./gradlew updateBundles
git diff --exit-code
if [ $? ];
then
git add core/assets/bundles/*
git commit -m "Automatic bundle update"
git push
fi
- name: Run unit tests
run: ./gradlew clean cleanTest test --stacktrace