chore: 调整清理顺序
This commit is contained in:
parent
c9e33eb146
commit
e61a6a9ce1
|
@ -30,14 +30,16 @@ jobs:
|
|||
path: ~/.sonar/cache
|
||||
key: ${{ runner.os }}-sonar
|
||||
restore-keys: ${{ runner.os }}-sonar
|
||||
- name: Remove monitoring-engine JAR
|
||||
run: rm -rf ~/.m2/repository/io/metersphere/monitoring-engine
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-m2
|
||||
|
||||
- name: Remove monitoring-engine JAR
|
||||
run: rm -rf ~/.m2/repository/io/metersphere/monitoring-engine
|
||||
|
||||
- name: Build and analyze
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
|
|
Loading…
Reference in New Issue