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,11 +1,7 @@
|
||||
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
|
||||
WORKDIR /home/container
|
||||
|
||||
# Copy the current directory contents into the container at /home/container
|
||||
COPY . .
|
||||
|
Loading…
x
Reference in New Issue
Block a user