Skip to content

Commit 7213363

Browse files
committed
further fix #18
1 parent ab57564 commit 7213363

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
runs-on: windows-latest
1212
steps:
1313
- name: Set up JDK 17
14-
uses: actions/setup-java@v3
14+
uses: actions/setup-java@v4
1515
with:
1616
java-version: 17
1717
distribution: 'zulu' # Alternative distribution options are available.
18-
- uses: actions/setup-dotnet@v2
18+
- uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2121
- name: Cache SonarQube Cloud packages
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
with:
2424
path: ~\sonar\cache
2525
key: ${{ runner.os }}-sonar
2626
restore-keys: ${{ runner.os }}-sonar
2727
- name: Cache SonarQube Cloud scanner
2828
id: cache-sonar-scanner
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: ${{ runner.temp }}\scanner
3232
key: ${{ runner.os }}-sonar-scanner
@@ -43,7 +43,7 @@ jobs:
4343
shell: powershell
4444
run: |
4545
dotnet tool install --global dotnet-coverage --version 17.6.4
46-
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
47-
dotnet restore .\Queryabl.sln
48-
dotnet build .\Queryabl.csproj /t:Rebuild /p:Configuration=Debug
46+
${{ runner.temp }}\scanner\dotnet-sonarscanner begin /k:"chrdek_QueryablDataCalc" /o:"chrdek" /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
47+
dotnet restore Queryabl.sln
48+
dotnet build Queryabl.csproj /t:Rebuild /p:Configuration=Debug
4949
${{ runner.temp }}\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)