Skip to content

Commit 52f87ec

Browse files
Marc SerratMarc Serrat
Marc Serrat
authored and
Marc Serrat
committed
Make build wait a bit to let sonar process report
1 parent c1b5642 commit 52f87ec

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ jobs:
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
49+
- name: Wait sonar to process report
50+
uses: jakejarvis/wait-action@master
51+
with:
52+
time: '60s'
4953
- name: SonarQube Quality Gate check
5054
uses: sonarsource/sonarqube-quality-gate-action@master
5155
timeout-minutes: 5

.github/workflows/deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
47+
- name: Wait sonar to process report
48+
uses: jakejarvis/wait-action@master
49+
with:
50+
time: '60s'
4751
- name: SonarQube Quality Gate check
4852
uses: sonarsource/sonarqube-quality-gate-action@master
4953
timeout-minutes: 5

0 commit comments

Comments
 (0)