diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 74e4656733..c82ce29fb1 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -42,7 +42,7 @@ jobs: ${{ runner.os }}-maven- - name: Remove monitoring-engine JAR - run: rm -f ~/.m2/repository/io/metersphere/monitoring-engine + run: rm -rf ~/.m2/repository/io/metersphere/monitoring-engine - name: Set up JDK 11 uses: actions/setup-java@v1 diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 2421b3ed05..e4aeaf05f9 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -31,7 +31,7 @@ jobs: key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Remove monitoring-engine JAR - run: rm -f ~/.m2/repository/io/metersphere/monitoring-engine + run: rm -rf ~/.m2/repository/io/metersphere/monitoring-engine - name: Cache Maven packages uses: actions/cache@v3 with: