From 5eda74a2ba232cd770da847f578210902e748e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 31 Jan 2024 14:54:23 +0100 Subject: [PATCH] Prefer a Docker solution to unverified Actions. --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcf46582..b99d97b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2022, 2023 SWTChart project +# Copyright (c) 2022, 2024 SWTChart project # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at @@ -18,16 +18,12 @@ on: jobs: build: runs-on: ubuntu-latest + container: + image: maven:3.8.8-eclipse-temurin-17 steps: - name: Checkout SWTChart uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: '17' - cache: 'maven' - name: Build with Maven uses: coactions/setup-xvfb@v1 with: