Skip to content

Commit 3552fa7

Browse files
committed
install java 11 on ci
1 parent 63c5504 commit 3552fa7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
steps:
2020
- name: Check out repo
2121
uses: actions/checkout@v2
22+
- name: Install java 11
23+
uses: actions/setup-java@v2
24+
with:
25+
distribution: 'adopt'
26+
java-version: '11'
2227
- name: Install curl
2328
run: sudo apt-get install -y curl libcurl4-openssl-dev
2429
- name: Test secret

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
steps:
2929
- name: Check out repo
3030
uses: actions/checkout@v2
31+
- name: Install java 11
32+
uses: actions/setup-java@v2
33+
with:
34+
distribution: 'adopt'
35+
java-version: '11'
3136
- name: Install curl
3237
run: sudo apt-get install -y curl libcurl4-openssl-dev
3338
- name: Verify Android

0 commit comments

Comments
 (0)