Skip to content

Commit 137163a

Browse files
committed
JDK 11+ - fix push Action
1 parent db6760d commit 137163a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/maven-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up Java
18-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v3
1919
with:
2020
java-version: ${{ matrix.java }}
2121
- name: Cache local Maven repository

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,16 @@ brew install swagger-codegen
238238

239239
To build from source, you need the following installed and available in your `$PATH:`
240240

241-
* [Java 8+](http://java.oracle.com)
241+
* [Java 11+](http://java.oracle.com)
242242

243-
* [Apache maven 3.3.3 or greater](http://maven.apache.org/)
243+
* [Apache maven 3.6.2 or greater](http://maven.apache.org/)
244244

245245
#### OS X Users
246-
Don't forget to install Java 8+.
246+
Don't forget to install Java 11+.
247247

248248
Export `JAVA_HOME` in order to use the supported Java version:
249249
```sh
250-
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
250+
export JAVA_HOME=`/usr/libexec/java_home -v 11`
251251
export PATH=${JAVA_HOME}/bin:$PATH
252252
```
253253

0 commit comments

Comments
 (0)