Skip to content

Commit 633ab49

Browse files
committed
Update build.yml to build shadowJar
1 parent 6aa0513 commit 633ab49

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: chmod +x ./gradlew
2828

2929
- name: Build with Gradle
30-
run: ./gradlew build --no-daemon
30+
run: ./gradlew shadowJar --no-daemon
3131

3232
- name: Log in to GitHub Container Registry
3333
uses: docker/login-action@v3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM eclipse-temurin:24-jre
22

33
WORKDIR /app
44

5-
COPY foxy/build/libs/MarisaStuff-*.jar MarisaStuff.jar
5+
COPY build/libs/MarisaStuff-*.jar MarisaStuff.jar
66

77
ENV JAVA_OPTS="-Xms256M -Xmx512M"
88
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar MarisaStuff.jar"]

0 commit comments

Comments
 (0)