Skip to content

Commit

Permalink
cicd(upgrade): use java 17 to fix the pipeline error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff-Tian committed May 7, 2024
1 parent f6cf8e0 commit faef0cd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
name: Build
runs-on: windows-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 1.11
- uses: actions/checkout@v2
distribution: 'adopt'
java-version: '17'
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
Expand Down

0 comments on commit faef0cd

Please sign in to comment.