File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,16 +80,18 @@ jobs:
8080 - name : Copy build/report/tests/test for upload
8181 if : ${{ failure() }}
8282 run : |
83- mkdir -p ${BUILD_REPORTS_PATH}
84- cp -r test ${BUILD_REPORTS_PATH}
83+ # Create the directory within the workspace
84+ mkdir -p "${{ github.workspace }}/${{ env.BUILD_REPORTS_PATH }}"
85+ # Copy the test results into that directory
86+ cp -r test/* "${{ github.workspace }}/${{ env.BUILD_REPORTS_PATH }}"
8587 working-directory : build/reports/tests
8688 env :
87- BUILD_REPORTS_PATH : / buildReports/${{runner.os}}/java${{matrix.java}}/${{matrix.RUNTIME}}-${{matrix.RUNTIME_VERSION}}/
89+ BUILD_REPORTS_PATH : buildReports/${{ runner.os }}/java${{ matrix.java }}/${{ matrix.RUNTIME }}-${{ matrix.RUNTIME_VERSION }}
8890 - uses : actions/upload-artifact@v4
8991 if : ${{ failure() }}
9092 with :
91- name : buildReportsArtifactLinux
92- path : /buildReports
93+ name : buildReportsArtifactLinux_${{matrix.java}}_${{matrix.RUNTIME}}_${{matrix.RUNTIME_VERSION}}
94+ path : ${{ github.workspace }} /buildReports/
9395 retention-days : 3
9496
9597# WINDOWS BUILDS
@@ -171,6 +173,6 @@ jobs:
171173 - uses : actions/upload-artifact@v4
172174 if : ${{ failure() }}
173175 with :
174- name : buildReportsArtifactWindows
176+ name : buildReportsArtifactWindows_${{matrix.java}}_${{matrix.RUNTIME}}_${{matrix.RUNTIME_VERSION}}
175177 path : C:/buildReports
176178 retention-days : 3
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ artifacts {
9696test {
9797 minHeapSize = " 1G"
9898 maxHeapSize = " 3G"
99- jvmArgs ' -Xmx3G '
99+
100100
101101 systemProperties System . getProperties()
102102 systemProperty ' runit' , ' online'
@@ -140,6 +140,7 @@ test {
140140 prop. setProperty(" runtimeVersion" , runtimeVersion)
141141 prop. setProperty(" antVersion" , libertyAntVersion)
142142 prop. setProperty(" commonVersion" , libertyCommonVersion)
143+ prop. setProperty(" org.gradle.jvmargs" , " -Xms1G -Xmx3G -XX:MaxMetaspaceSize=512m" )
143144
144145 // save properties to project root folder
145146 prop. store(output, null )
You can’t perform that action at this time.
0 commit comments