Test with Java 11.
This commit is contained in:
parent
1a252a4f6a
commit
1673f8341a
|
@ -1,4 +1,4 @@
|
||||||
name: "Build and test release Maven GitHub action"
|
name: "Build and test snapshot of Maven GitHub action"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -18,7 +18,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
|
|
||||||
- name: "Install"
|
- name: "Install packages"
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: "Run build"
|
- name: "Run build"
|
||||||
|
@ -33,10 +33,10 @@ jobs:
|
||||||
- name: "Set up JDK"
|
- name: "Set up JDK"
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: "8"
|
java-version: "13"
|
||||||
distribution: "adopt"
|
distribution: "adopt"
|
||||||
|
|
||||||
- name: "Set Maven from local GitHub action"
|
- name: "Set Maven from local path GitHub action"
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
maven-version: 3.8.1
|
maven-version: 3.8.1
|
||||||
|
@ -46,4 +46,4 @@ jobs:
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: "Apply local changes"
|
commit_message: "Add a distribution."
|
||||||
|
|
Loading…
Reference in New Issue