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.name "Your Name"
|
||||
git submodule update --init --recursive
|
||||
./parchment jar
|
||||
./parchment ghjar
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
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.name "Your Name"
|
||||
git submodule update --init --recursive
|
||||
./parchment jar
|
||||
./parchment ghjar
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
19
parchment
19
parchment
@@ -80,6 +80,25 @@ case "$1" in
|
||||
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")
|
||||
(
|
||||
basedir
|
||||
|
||||
Reference in New Issue
Block a user