Hopefully fix workflows
This commit is contained in:
2
.github/workflows/pr-build.yml
vendored
2
.github/workflows/pr-build.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
git config --global user.email "you@example.com"
|
git config --global user.email "you@example.com"
|
||||||
git config --global user.name "Your Name"
|
git config --global user.name "Your Name"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
./parchment jar
|
./parchment ghjar
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/push-build.yml
vendored
2
.github/workflows/push-build.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
git config --global user.email "you@example.com"
|
git config --global user.email "you@example.com"
|
||||||
git config --global user.name "Your Name"
|
git config --global user.name "Your Name"
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
./parchment jar
|
./parchment ghjar
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
19
parchment
19
parchment
@@ -80,6 +80,25 @@ case "$1" in
|
|||||||
mvn clean install
|
mvn clean install
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
"ghjar")
|
||||||
|
(
|
||||||
|
# github install because workflows are dumb
|
||||||
|
basedir
|
||||||
|
cd "$basedir"
|
||||||
|
if [ "$2" != "fast" ]; then
|
||||||
|
scripts/upstream.sh
|
||||||
|
fi
|
||||||
|
./scripts/apply.sh "$basedir"
|
||||||
|
cd "$basedir"
|
||||||
|
mvn -N install
|
||||||
|
cd ${FORK_NAME}-Common && mvn -e clean install -Dmaven.javadoc.skip=true
|
||||||
|
cd ${FORK_NAME}-API && mvn -e clean install -Dmaven.javadoc.skip=true
|
||||||
|
cd ../Paper/Paper-MojangAPI && mvn -e clean install
|
||||||
|
cd ../../${FORK_NAME}-Server && mvn -e clean install
|
||||||
|
cd "$basedir"
|
||||||
|
./scripts/paperclip.sh
|
||||||
|
)
|
||||||
|
;;
|
||||||
"d" | "deploy")
|
"d" | "deploy")
|
||||||
(
|
(
|
||||||
basedir
|
basedir
|
||||||
|
|||||||
Reference in New Issue
Block a user