-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github workflows): change the java version during building project
- Loading branch information
1 parent
9995aa5
commit 4489065
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11.0.5 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11.0.15 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
@@ -80,10 +80,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11.0.5 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11.0.15 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
@@ -118,10 +118,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11.0.5 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11.0.15 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,10 +44,10 @@ jobs: | |
# format: YYYY-MM-DD | ||
# | ||
# - uses: actions/checkout@v2 | ||
# - name: Set up JDK 1.8 | ||
# - name: Set up JDK 11.0.15 | ||
# uses: actions/[email protected] | ||
# with: | ||
# java-version: 1.8 | ||
# java-version: 11.0.15 | ||
# - uses: actions/cache@v2 | ||
# with: | ||
# path: | | ||
|
@@ -95,10 +95,10 @@ jobs: | |
#暂不知道这玩意是不是取的本地时间 | ||
|
||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 1.8 | ||
- name: Set up JDK 11.0.15 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 1.8 | ||
java-version: 11.0.15 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
|
@@ -143,10 +143,10 @@ jobs: | |
# with: | ||
# format: YYYY-MM-DD | ||
# - uses: actions/checkout@v2 | ||
# - name: Set up JDK 1.8 | ||
# - name: Set up JDK 11.0.15 | ||
# uses: actions/[email protected] | ||
# with: | ||
# java-version: 1.8 | ||
# java-version: 11.0.15 | ||
# - uses: actions/cache@v2 | ||
# with: | ||
# path: | | ||
|