mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 05:21:15 -08:00
deploy script for jitpack
This commit is contained in:
parent
e15ed4403c
commit
211cf250dc
1 changed files with 17 additions and 0 deletions
17
.github/workflows/deployment.yml
vendored
17
.github/workflows/deployment.yml
vendored
|
|
@ -24,6 +24,23 @@ jobs:
|
|||
git tag ${RELEASE_VERSION}
|
||||
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/Arc ${RELEASE_VERSION};
|
||||
cd ../Mindustry
|
||||
- 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 -rf .github
|
||||
rm README.md
|
||||
git add .
|
||||
git commit -m "${GITHUB_SHA}"
|
||||
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryJitpack
|
||||
git tag ${RELEASE_VERSION}
|
||||
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryJitpack
|
||||
cd ../Mindustry
|
||||
- name: Create artifacts
|
||||
run: |
|
||||
./gradlew desktop:dist server:dist core:mergedJavadoc -Pbuildversion=${RELEASE_VERSION:1}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue