diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 0a490105f3..74e4656733 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -41,6 +41,9 @@ jobs: restore-keys: | ${{ runner.os }}-maven- + - name: Remove monitoring-engine JAR + run: rm -f ~/.m2/repository/io/metersphere/monitoring-engine + - name: Set up JDK 11 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 8c007d3047..2421b3ed05 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -30,6 +30,8 @@ jobs: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar + - name: Remove monitoring-engine JAR + run: rm -f ~/.m2/repository/io/metersphere/monitoring-engine - name: Cache Maven packages uses: actions/cache@v3 with: