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

Commit fcdf13c

Browse files
fix: version for SonarQub
1 parent dd8d4d0 commit fcdf13c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18-
- name: Checkout with tag
19-
run: git checkout "${GITHUB_REF:11}"
20-
2118
- name: Setup Java 14
2219
uses: joschi/setup-jdk@v2
2320
with:
@@ -31,6 +28,6 @@ jobs:
3128

3229
- name: Analyse
3330
if: github.ref == 'refs/heads/master'
34-
run: ./gradlew sonarqube -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Djgitver.branch=${GITHUB_REF:11}
31+
run: ./gradlew version sonarqube -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Djgitver.branch=${GITHUB_REF:11}
3532
env:
3633
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)