Skip to content

Commit

Permalink
CI - Clean the Gradle temp directory
Browse files Browse the repository at this point in the history
Hopefully, this will fix the errors we have when trying to upload
artifacts.
  • Loading branch information
gsmet committed Oct 15, 2021
1 parent 1f3d58f commit b27c227
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ jobs:
shell: bash
# Despite the pre-calculated run_jvm flag, GIB has to be re-run here to figure out the exact submodules to build.
run: ./mvnw $COMMON_MAVEN_ARGS install -Dsurefire.timeout=1200 -pl !integration-tests/gradle -pl !integration-tests/maven -pl !integration-tests/devtools ${{ matrix.java.maven_args }} ${{ needs.build-jdk11.outputs.gib_args }}
- name: Clean Gradle temp directory
shell: bash
run: devtools/gradle/gradlew --stop && rm -rf devtools/gradle/gradle-extension-plugin/build/tmp
- name: Prepare failure archive (if maven failed)
if: failure()
shell: bash
Expand All @@ -327,7 +330,6 @@ jobs:
retention-days: 2
- name: Upload gc.log
uses: actions/upload-artifact@v2
if: failure()
with:
name: "GC log - JDK ${{matrix.java.name}}"
path: |
Expand Down

0 comments on commit b27c227

Please sign in to comment.