Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 3fdf436

Browse files
committed
chore: fix sonar workflow
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent d26c2df commit 3fdf436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run_id: ${{github.event.workflow_run.id}},
3030
});
3131
for (var artifact of artifacts.data.artifacts) {
32-
if (artifact.name.equals('kubernetes-integration-tests-reports') || artifact.name.equals('ubuntu-latest-test-reports') || artifact.name.equals('prInfo')) {
32+
if (artifact.name == 'kubernetes-integration-tests-reports' || artifact.name == 'ubuntu-latest-test-reports' || artifact.name == 'prInfo') {
3333
var zipfile = await github.rest.actions.downloadArtifact({
3434
owner: context.repo.owner,
3535
repo: context.repo.repo,
@@ -48,7 +48,7 @@ jobs:
4848
}
4949
- name: Unzip artifacts
5050
run: |
51-
find . -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "build"' _ {} \;
51+
find . -name '*.zip' -exec sh -c 'unzip -d "${{github.workspace}}/build" "$1"' _ {} \;
5252
- name: Create coverage report
5353
run: |
5454
./gradlew jacocoTestReport

0 commit comments

Comments
 (0)