Horrible
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user