Skip to content

Commit f2df4ae

Browse files
committed
fix(docs): Update readme
1 parent f63d9a2 commit f2df4ae

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v1
20+
- uses: actions/setup-java@v1
21+
with:
22+
java-version: 1.8
2023
- name: Use coturiv/setup-ionic
2124
uses: ./
2225
- name: Run cordova project tests

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Set up your GitHub Actions workflow with Cordova/Ionic environment. Only support
77
## example usage:
88

99
```
10+
- name: Use coturiv/setup-ionic
11+
uses: coturiv/setup-ionic@v1
12+
with:
13+
java-version: 8
1014
- name: Use coturiv/setup-ionic
1115
uses: coturiv/setup-ionic@v1
1216
with:
@@ -16,4 +20,15 @@ Set up your GitHub Actions workflow with Cordova/Ionic environment. Only support
1620
run: |
1721
ionic cordova build android --prod
1822
23+
```
24+
25+
### important*
26+
27+
_From Ubuntu 20.04 runners, the default version of Java is 11, so you need to specify it to 8(1.8), due to the requirement of cordova, but will be removed in future releases. See [here](), and [here](https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#java-development-kit-jdk)_
28+
29+
```
30+
- name: Set up JDK 1.8
31+
uses: actions/setup-java@v1
32+
with:
33+
java-version: 1.8
1934
```

0 commit comments

Comments
 (0)