forked from loafle/openapi-generator-original
Update sonar.yml
Set GITHUB_REF with replacement to remove refs/heads prefix
This commit is contained in:
parent
9928f3c375
commit
ad4a9df328
2
.github/workflows/sonar.yml
vendored
2
.github/workflows/sonar.yml
vendored
@ -21,4 +21,4 @@ jobs:
|
||||
- name: Jacoco Aggregate
|
||||
run: mvn jacoco:report-aggregate
|
||||
- name: Publish to Sonar
|
||||
run: mvn sonar:sonar -Dsonar.projectKey=OpenAPITools_openapi-generator -Dsonar.organization=openapitools -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.branch.name=${{ github.ref }}
|
||||
run: mvn sonar:sonar -Dsonar.projectKey=OpenAPITools_openapi-generator -Dsonar.organization=openapitools -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.branch.name=${GITHUB_REF##*/}
|
||||
|
Loading…
x
Reference in New Issue
Block a user