Skip to content

Commit 03aa569

Browse files
committed
fix dependabot build
1 parent fb818d0 commit 03aa569

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ jobs:
4343
key: ${{ runner.os }}-sonar
4444
restore-keys: ${{ runner.os }}-sonar
4545

46-
- name: Debug secret source
47-
run: echo ${{ github.secret_source }}
48-
4946
- name: Build and analyze
50-
if: ${{ github.secret_source == 'None' }}
47+
if: ${{ github.secret_source != 'Actions' }}
5148
env:
5249
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
53-
run: ./gradlew build jacocoTestReport
50+
run: |
51+
echo "Secret source: \"${{ github.secret_source }}\""
52+
./gradlew build jacocoTestReport
5453
5554
- name: Build and analyze (Sonar)
5655
if: ${{ github.secret_source == 'Actions' }}

0 commit comments

Comments
 (0)