From ee31f1e61408f027e361d1f15ba148b1c9a1faa8 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Sat, 6 Mar 2021 16:41:47 +0100 Subject: [PATCH] # This is a combination of 5 commits. # This is the 1st commit message: chore: add sonar # This is the commit message #2: chore: add sonar # This is the commit message #3: chore: add sonar # This is the commit message #4: chore: add sonar # This is the commit message #5: chore: add sonar --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ce05f27..cc226ee3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: id: info run: | echo ::set-output name=version::${GITHUB_REF/refs\/tags\//} - echo ::set-output name=repo_name::$(echo $GITHUB_REPOSITORY| cut -d / -f 2) - echo ::set-output name=repo_owner::$(echo $GITHUB_REPOSITORY| cut -d / -f 1) + echo ::set-output name=repo_name::$(echo $GITHUB_REPOSITORY| cut -d / -f 1) + echo ::set-output name=repo_owner::$(echo $GITHUB_REPOSITORY| cut -d / -f 2) - uses: actions/setup-node@v2 with: @@ -51,7 +51,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} with: args: > - -Dsonar.organization=${{ steps.info.outputs.repo_owner }} + -Dsonar.organization=${{ steps.info.outputs.repo_name }} -Dsonar.projectKey=${{ steps.info.outputs.repo_name }}