Skip to content

Commit

Permalink
ci(github workflows): change the java version during building project
Browse files Browse the repository at this point in the history
  • Loading branch information
TSaltedfishKing committed Jan 25, 2023
1 parent 9995aa5 commit 4489065
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/APK_Debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/APK_Release_Nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 4489065

Please sign in to comment.