From 33afec743b59c4ce3da98bf5b55cdfb211075387 Mon Sep 17 00:00:00 2001 From: Dmytro <13066272+TheElan@users.noreply.github.com> Date: Sat, 11 Dec 2021 18:39:42 +0200 Subject: [PATCH] ci: use java container on build and test --- .github/workflows/build-and-test.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a60a2b64..030cd05e 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,17 +12,11 @@ on: jobs: build-and-test: runs-on: ubuntu-latest + container: ghcr.io/theelan/minecraft-1.7.10-ci-docker-image:1.0.1 steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - - - name: Set up JDK 8 - uses: actions/setup-java@v2 - with: - java-version: '8' - distribution: 'adopt' - cache: gradle - name: Grant execute permission for gradlew run: chmod +x gradlew