chore: 清理指定文件缓存

This commit is contained in:
fit2-zhao 2024-10-15 09:58:09 +08:00 committed by Craftsman
parent b010135901
commit 2486bc8b80
2 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,9 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-maven- ${{ runner.os }}-maven-
- name: Remove monitoring-engine JAR
run: rm -f ~/.m2/repository/io/metersphere/monitoring-engine
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:

View File

@ -30,6 +30,8 @@ jobs:
path: ~/.sonar/cache path: ~/.sonar/cache
key: ${{ runner.os }}-sonar key: ${{ runner.os }}-sonar
restore-keys: ${{ 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 - name: Cache Maven packages
uses: actions/cache@v3 uses: actions/cache@v3
with: with: