From 79a8c9878407fccb75c05efabc0b786aea95fd4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A8?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BB=D0=B8=D0=BD=D0=B3?= Date: Tue, 29 Oct 2024 20:09:34 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/run-junit.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/run-junit.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/run-junit.yaml b/.gitea/workflows/run-junit.yaml index 976b365..4ff6455 100644 --- a/.gitea/workflows/run-junit.yaml +++ b/.gitea/workflows/run-junit.yaml @@ -6,20 +6,9 @@ jobs: steps: - name: Checkout the repository uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Setup Maven Action + uses: s4u/setup-maven-action@1.15.0 with: java-version: 11 - - name: Install curl (for nektos/act local CI testing) - run: apt-get update && apt-get install build-essential curl pkg-config openssl -y - - name: Download Maven - run: | - curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip - apt-get update - apt-get -y install unzip - unzip -d /usr/share maven.zip - rm maven.zip - ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn - echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment - name: Run tests with Maven run: mvn -B test --file pom.xml \ No newline at end of file