File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Cache Maven Repository
2424 uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
2525 with :
26- path : |
27- ~/.m2/repository
28- !~/.m2/repository/org/flowable
26+ path : ~/.m2/repository
2927 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3028 restore-keys : ${{ runner.os }}-maven-
3129 - name : Verify Distribution
3735 path : ' distro/target/flowable-*.zip'
3836 retention-days : 10
3937 if-no-files-found : ' error'
38+ - name : Remove Flowable artifacts from cache
39+ run : rm -rf ~/.m2/repository/org/flowable
Original file line number Diff line number Diff line change 2424 - name : Cache Maven Repository
2525 uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
2626 with :
27- path : |
28- ~/.m2/repository
29- !~/.m2/repository/org/flowable
27+ path : ~/.m2/repository
3028 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3129 restore-keys : ${{ runner.os }}-maven-
3230 - name : Install
4644 with :
4745 name : surefire-${{matrix.java}}-txt
4846 path : ' **/target/surefire-reports/*-output.txt'
47+ - name : Remove Flowable artifacts from cache
48+ run : rm -rf ~/.m2/repository/org/flowable
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424 - name : Cache Maven Repository
2525 uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
2626 with :
27- path : |
28- ~/.m2/repository
29- !~/.m2/repository/org/flowable
27+ path : ~/.m2/repository
3028 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3129 restore-keys : ${{ runner.os }}-maven-
3230 - name : Install
3331 # Need to do install first in order for the OSGi tests to work
3432 run : ./mvnw install %MAVEN_ARGS% -D skipTests=true -D maven.javadoc.skip=true
3533 - name : Test
3634 run : ./mvnw verify -P distro,errorLogging %MAVEN_ARGS% -D maven.test.redirectTestOutputToFile=false
35+ - name : Remove Flowable artifacts from cache
36+ run : Remove-Item -Recurse -Force ~/.m2/repository/org/flowable -ErrorAction SilentlyContinue
You can’t perform that action at this time.
0 commit comments