Skip to content

Commit 7366881

Browse files
committed
update github action to v2
1 parent 27f84f3 commit 7366881

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
SAMPLEDB: true
2525
steps:
2626
- uses: actions/checkout@v2
27+
- uses: actions/setup-java@v2
28+
with:
29+
java-version: 8
30+
distribution: 'zulu'
2731
# TODO: Find a better way to wait for completing setup.
2832
- name: Sleep for 5 minutes to complete all the DB2 setup process
2933
run: sleep 300
@@ -154,6 +158,10 @@ jobs:
154158
POSTGRES_PASSWORD: postgres
155159
steps:
156160
- uses: actions/checkout@v2
161+
- uses: actions/setup-java@v2
162+
with:
163+
java-version: 8
164+
distribution: 'zulu'
157165
- name: Connect
158166
run: psql -h 127.0.0.1 -p 5439 -U postgres -d postgres -c "\l"
159167
env:

0 commit comments

Comments
 (0)