From 67835c940f9825ff06e66fe5046b95c8aa330815 Mon Sep 17 00:00:00 2001 From: Marlon Saglia Date: Thu, 8 Aug 2024 08:56:20 +0200 Subject: [PATCH] setup java --- .github/actions/install-deps/action.yml | 12 ++++++++++++ .github/workflows/verify-guides.yml | 9 ++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/actions/install-deps/action.yml b/.github/actions/install-deps/action.yml index bc1df39d8d..758d0ca814 100644 --- a/.github/actions/install-deps/action.yml +++ b/.github/actions/install-deps/action.yml @@ -29,6 +29,18 @@ runs: # dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo # dnf -y install docker-ce protobuf-compiler protobuf-devel python3 python3-pip --nobest + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true + + - uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: "17" + cache: "maven" + - name: Install python dependencies shell: bash run: | diff --git a/.github/workflows/verify-guides.yml b/.github/workflows/verify-guides.yml index 0458875adf..422eff2ae4 100644 --- a/.github/workflows/verify-guides.yml +++ b/.github/workflows/verify-guides.yml @@ -29,7 +29,8 @@ jobs: # volumes: # - "/var/run/docker.sock:/var/run/docker.sock" # ports: - # - "19071:19071" + # - "19071" + # - "8080" env: LANG: "C.UTF-8" steps: @@ -39,12 +40,6 @@ jobs: with: vespa-cli-version: latest - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.1 - bundler-cache: true - # - name: install-site # run: | # gem install bundler