From 99ea7c2e532068deaa7c42be8ed418c34cc1b0c0 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 2 Nov 2023 11:14:44 +0100 Subject: [PATCH] SONAR-20943 Fix typo in github cache action for dotnet --- .../__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap | 2 +- .../js/components/tutorials/github-action/commands/DotNet.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap index 7118309d008..0d4632cdeec 100644 --- a/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/github-action/__tests__/__snapshots__/GithubActionTutorial-it.tsx.snap @@ -26,7 +26,7 @@ jobs: - name: Cache SonarQube packages uses: actions/cache@v1 with: - path: ~\\sonar\\cache + path: ~\\.sonar\\cache key: \${{ runner.os }}-sonar restore-keys: \${{ runner.os }}-sonar - name: Cache SonarQube scanner diff --git a/server/sonar-web/src/main/js/components/tutorials/github-action/commands/DotNet.tsx b/server/sonar-web/src/main/js/components/tutorials/github-action/commands/DotNet.tsx index 998cec200f3..c0820ba75a2 100644 --- a/server/sonar-web/src/main/js/components/tutorials/github-action/commands/DotNet.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/github-action/commands/DotNet.tsx @@ -38,7 +38,7 @@ function dotnetYamlSteps(projectKey: string) { - name: Cache SonarQube packages uses: actions/cache@v1 with: - path: ~\\sonar\\cache + path: ~\\.sonar\\cache key: \${{ runner.os }}-sonar restore-keys: \${{ runner.os }}-sonar - name: Cache SonarQube scanner -- 2.39.5