File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,22 @@ jobs:
11
11
runs-on : windows-latest
12
12
steps :
13
13
- name : Set up JDK 17
14
- uses : actions/setup-java@v3
14
+ uses : actions/setup-java@v4
15
15
with :
16
16
java-version : 17
17
17
distribution : ' zulu' # Alternative distribution options are available.
18
- - name : Setup .NET
19
- uses : actions/setup-dotnet@v2
20
- with :
21
- dotnet-version : 6.0.301
22
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
23
19
with :
24
20
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
25
21
- name : Cache SonarCloud packages
26
- uses : actions/cache@v3
22
+ uses : actions/cache@v4
27
23
with :
28
24
path : ~\sonar\cache
29
25
key : ${{ runner.os }}-sonar
30
26
restore-keys : ${{ runner.os }}-sonar
31
27
- name : Cache SonarCloud scanner
32
28
id : cache-sonar-scanner
33
- uses : actions/cache@v3
29
+ uses : actions/cache@v4
34
30
with :
35
31
path : .\.sonar\scanner
36
32
key : ${{ runner.os }}-sonar-scanner
47
43
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
48
44
shell : powershell
49
45
run : |
50
- dotnet tool install --global dotnet-coverage
51
46
.\.sonar\scanner\dotnet-sonarscanner begin /k:"chrdek_linqpath_prerel" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
52
- dotnet restore ./linqpath_prerel\ExporterUtility.sln
53
- dotnet build .\LinqPath\LinqPath.csproj /t:Rebuild /p:Configuration=Debug
47
+ dotnet build
54
48
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
You can’t perform that action at this time.
0 commit comments