Horrible
This commit is contained in:
@@ -33,5 +33,19 @@ jobs:
|
|||||||
git commit -m "Automatic bundle update"
|
git commit -m "Automatic bundle update"
|
||||||
git push
|
git push
|
||||||
fi
|
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
|
- name: Run unit tests
|
||||||
run: ./gradlew clean cleanTest test --stacktrace
|
run: ./gradlew clean cleanTest test --stacktrace
|
||||||
|
|||||||
Reference in New Issue
Block a user