Updates
This commit is contained in:
parent
a00ba44968
commit
7bbc00393c
|
@ -67,7 +67,7 @@ jobs:
|
|||
cache-name: cache-sonar-modules
|
||||
with:
|
||||
path: /opt/hostedtoolcache/.sonar/
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle','**/settings.gradle') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
${{ runner.os }}-build-
|
||||
|
@ -75,8 +75,6 @@ jobs:
|
|||
|
||||
- name: run gradle sonar scan
|
||||
if: ${{ inputs.sonar_enabled }}
|
||||
env:
|
||||
SONAR_USER_HOME: "/opt/hostedtoolcache/.sonar"
|
||||
run: ./gradlew sonar -i -s
|
||||
|
||||
- name: dockerfile lint check
|
||||
|
|
Loading…
Reference in New Issue