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