Set up java and python in deploy job.
@@ -135,6 +135,17 @@ jobs:
with:
fetch-depth: 0 # Needs to be deep enough to hit the last tagged version.
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: 8
+ distribution: adopt
+
+ - name: Set up Python 3.7
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.7'
+
- name: Cache Maven
uses: actions/cache@v2
with:
