forked from MinecraftUtilities/Backend
ci
This commit is contained in:
parent
a9a1948c1f
commit
33d966057f
@ -14,12 +14,12 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
- name: Set up JDK 17 and Maven
|
||||
uses: s4u/setup-maven-action@v1.7.0
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
maven-version: 3.8.5
|
||||
|
||||
- name: Run Tests
|
||||
run: mvn --batch-mode test
|
||||
|
@ -1,8 +1,4 @@
|
||||
FROM eclipse-temurin:17.0.10_7-jdk-focal
|
||||
|
||||
# Install maven
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y maven
|
||||
FROM maven:3.8.5-openjdk-17-slim
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /home/container
|
||||
|
Loading…
Reference in New Issue
Block a user