Skip to content

Commit 86764a6

Browse files
committed
Try out pinning Java version
1 parent a5c28e7 commit 86764a6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/python.yml

+24
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
- name: Copy README
7070
run: cp README.md python/
7171

72+
- name: Set up JDK 8
73+
uses: actions/setup-java@v3
74+
with:
75+
java-version: "8"
76+
distribution: "adopt"
77+
7278
- uses: actions/setup-python@v5
7379
name: Setup Python
7480
with:
@@ -96,6 +102,12 @@ jobs:
96102
- name: Copy README
97103
run: cp README.md python/
98104

105+
- name: Set up JDK 8
106+
uses: actions/setup-java@v3
107+
with:
108+
java-version: "8"
109+
distribution: "adopt"
110+
99111
- uses: actions/setup-python@v5
100112
name: Setup Python
101113
with:
@@ -120,6 +132,12 @@ jobs:
120132
- name: Copy README
121133
run: cp README.md python/
122134

135+
- name: Set up JDK 8
136+
uses: actions/setup-java@v3
137+
with:
138+
java-version: "8"
139+
distribution: "adopt"
140+
123141
- uses: actions/setup-python@v4
124142
name: Setup Python
125143
with:
@@ -147,6 +165,12 @@ jobs:
147165
- name: Copy README
148166
run: cp README.md python/
149167

168+
- name: Set up JDK 8
169+
uses: actions/setup-java@v3
170+
with:
171+
java-version: "8"
172+
distribution: "adopt"
173+
150174
- uses: actions/setup-python@v5
151175
name: Setup Python
152176
with:

0 commit comments

Comments
 (0)