From 0a0a6c6c0e3eefda1e966b50eb1c426f378076a0 Mon Sep 17 00:00:00 2001 From: Jasha Sommer-Simpson <8935917+Jasha10@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:01:58 -0600 Subject: [PATCH] readthedocs: install java via post_system_dependencies hook (#1143) --- .readthedocs.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a547737d0..36036e19d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,10 +18,11 @@ build: os: ubuntu-22.04 tools: python: "3.8" - commands: - - asdf plugin add java - - asdf install java latest:adoptopenjdk-11 - - asdf global java latest:adoptopenjdk-11 + jobs: + post_system_dependencies: + - asdf plugin add java + - asdf install java latest:adoptopenjdk-11 + - asdf global java latest:adoptopenjdk-11 # Optionally set the version of Python and requirements required to build your docs python: