You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2022/11/21 10:36:16 UTC
[lucenenet] branch master updated: .github/workflows/sonar.yml: Updated actions/setup-java to v2 and actions/cache to v3
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new a654eb1f8 .github/workflows/sonar.yml: Updated actions/setup-java to v2 and actions/cache to v3
a654eb1f8 is described below
commit a654eb1f84e0f1e2bcb21fc8cab78169485cd651
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Mon Nov 21 17:25:34 2022 +0700
.github/workflows/sonar.yml: Updated actions/setup-java to v2 and actions/cache to v3
---
.github/workflows/sonar.yml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml
index bb6a29a99..7ea82384d 100644
--- a/.github/workflows/sonar.yml
+++ b/.github/workflows/sonar.yml
@@ -39,21 +39,22 @@ jobs:
with:
dotnet-version: '7.0.x'
- name: Set up JDK 11
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
- java-version: 1.11
+ distribution: 'zulu'
+ java-version: 11
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
- uses: actions/cache@v1
+ uses: actions/cache@v3
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarCloud scanner
id: cache-sonar-scanner
- uses: actions/cache@v1
+ uses: actions/cache@v3
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner