From c85fdd8e7a7a9a1875a40fd48bce7218774c790d Mon Sep 17 00:00:00 2001 From: Satbek Turganbayev Date: Fri, 25 Oct 2024 16:38:37 +0500 Subject: [PATCH] try to use setup java --- .github/workflows/test_on_push.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_on_push.yaml b/.github/workflows/test_on_push.yaml index e1ed06a..caa9ac4 100644 --- a/.github/workflows/test_on_push.yaml +++ b/.github/workflows/test_on_push.yaml @@ -42,13 +42,14 @@ jobs: with: tarantool-version: ${{ matrix.tarantool-version }} + - name: Setup Java 17 + uses: actions/setup-java@v2 + with: + distribution: 'temurin' + java-version: '17' + - name: Install requirements for community run: | - sudo apt-get -y update - sudo add-apt-repository ppa:linuxuprising/java - sudo apt-get -y install openjdk-21-jdk - sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-21-openjdk-amd64/bin/java 1 - sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-amd64/bin/java curl -sSL https://zipkin.io/quickstart.sh | bash -s tarantoolctl rocks install ldoc --server=http://rocks.moonscript.org tarantoolctl rocks install luacheck 0.25.0