Skip to content

Commit 2e5f699

Browse files
committed
ci update
1 parent 8e18b53 commit 2e5f699

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,29 +62,30 @@ jobs:
6262
needs: build-and-test-release
6363
runs-on: windows-latest
6464
steps:
65-
- name: Set up JDK 11
66-
uses: actions/setup-java@v1
65+
- name: Set up JDK 17
66+
uses: actions/setup-java@v3
6767
with:
68-
java-version: 1.11
68+
java-version: 17
69+
distribution: 'zulu' # Alternative distribution options are available.
6970
- uses: actions/checkout@v3
7071
with:
7172
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
7273
- name: Cache SonarCloud packages
73-
uses: actions/cache@v1
74+
uses: actions/cache@v3
7475
with:
7576
path: ~\sonar\cache
7677
key: ${{ runner.os }}-sonar
7778
restore-keys: ${{ runner.os }}-sonar
7879
- name: Cache SonarCloud scanner
7980
id: cache-sonar-scanner
80-
uses: actions/cache@v1
81+
uses: actions/cache@v3
8182
with:
8283
path: .\.sonar\scanner
8384
key: ${{ runner.os }}-sonar-scanner
8485
restore-keys: ${{ runner.os }}-sonar-scanner
8586
- name: Cache dotnet-coverage
8687
id: cache-dotnet-coverage
87-
uses: actions/cache@v1
88+
uses: actions/cache@v3
8889
with:
8990
path: .\.dotnet-coverage\dotnet-coverage
9091
key: ${{ runner.os }}-dotnet-coverage

0 commit comments

Comments
 (0)