This commit is contained in:
Anuken 2022-05-10 20:28:09 -04:00
parent 60d3a51ebc
commit 8fad5a1757

View File

@ -33,5 +33,19 @@ jobs:
git commit -m "Automatic bundle update"
git push
fi
- name: Update JITpack repo
run: |
cd ../
cp -r ./Mindustry ./MindustryJitpack
cd MindustryJitpack
git clone --depth 1 https://github.com/Anuken/MindustryJitpack.git
rm -rf .git
cp -r ./MindustryJitpack/.git ./.git
rm -rf MindustryJitpack
rm README.md
git add .
git commit -m "${GITHUB_SHA}"
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryJitpack
cd ../Mindustry
- name: Run unit tests
run: ./gradlew clean cleanTest test --stacktrace