Skip to content

Commit

Permalink
Reduce spam in build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Jan 16, 2023
1 parent 0105c3a commit fa9d788
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

jobs:
build:
name: Build (Java ${{ matrix.java }})
permissions:
contents: read
strategy:
Expand Down Expand Up @@ -47,13 +48,13 @@ jobs:
path: SportPaper-Server/target/sportpaper-*.jar
if-no-files-found: error
deploy:
name: Deploy
permissions:
contents: read
packages: write
needs: build
if: |
github.repository_owner == 'Electroid' &&
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SportPaper
# SportPaper [![Status](https://github.com/Electroid/SportPaper/actions/workflows/ci.yml/badge.svg)](https://github.com/Electroid/SportPaper/actions)

A performance-tuned Minecraft 1.8 server, forked from Spigot and Paper.

Expand Down
2 changes: 1 addition & 1 deletion scripts/baseremap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fi

echo "Installing remapped jar..."
cd CraftBukkit # Need to be in a directory with a valid POM at the time of install.
mvn install:install-file -q -Dfile="$jarpath-mapped.jar" -Dpackaging=jar -DgroupId=org.spigotmc -DartifactId=minecraft-server -Dversion="$minecraftversion-SNAPSHOT"
mvn --batch-mode install:install-file -q -Dfile="$jarpath-mapped.jar" -Dpackaging=jar -DgroupId=org.spigotmc -DartifactId=minecraft-server -Dversion="$minecraftversion-SNAPSHOT"
if [ "$?" != "0" ]; then
echo "Failed to install remapped jar."
exit 1
Expand Down
4 changes: 2 additions & 2 deletions sportpaper
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ case "$1" in
cd "$basedir"
scripts/upstream.sh
scripts/apply.sh "$basedir"
mvn clean install
mvn --batch-mode clean install
# buildpaperclipjar
;;
"rb" | "rbp" | "rebuild")
Expand All @@ -60,7 +60,7 @@ case "$1" in
"j" | "jar")
(
set -e
mvn clean install
mvn --batch-mode clean install
# buildpaperclipjar
)
;;
Expand Down

0 comments on commit fa9d788

Please sign in to comment.