Skip to content

Commit c4049f7

Browse files
committed
Attempt to fix the Sonar issue
by inlining the branch name instead of a shell variable.
1 parent 8a4a7ae commit c4049f7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-artifacts.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ jobs:
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6868
run: |
69-
BRANCH_NAME=${GITHUB_REF#refs/heads/}
70-
./gradlew sonar -Psonar.branch.name=${BRANCH_NAME} --info --scan
69+
./gradlew sonar -Psonar.branch.name=${GITHUB_REF#refs/heads/} --info --scan
7170
7271
- name: Upload Artifacts
7372
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)