mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:44:11 +07:00
Horrible
This commit is contained in:
parent
60d3a51ebc
commit
8fad5a1757
14
.github/workflows/push.yml
vendored
14
.github/workflows/push.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user