Skip to content

Commit 4f9a6b5

Browse files
authored
android.yml: add actions/setup-java to get a deterministic jdk version
1 parent 2b4e365 commit 4f9a6b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/android.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,16 @@ jobs:
7474
echo "GHA_INSTALL_CCACHE=1" >> $GITHUB_ENV
7575
7676
- name: Setup python
77-
uses: actions/setup-python@v2
77+
uses: actions/setup-python@v5
7878
with:
7979
python-version: ${{ matrix.python_version }}
8080
architecture: ${{ matrix.architecture }}
8181

82+
- uses: actions/setup-java@v4
83+
with:
84+
java-version: 17
85+
distribution: temurin
86+
8287
- name: Add msbuild to PATH
8388
if: startsWith(matrix.os, 'windows')
8489
uses: microsoft/[email protected]

0 commit comments

Comments
 (0)