@@ -119,18 +119,15 @@ jobs:
119119 -Pjqassistant -Pdist -Pci-build -DskipITs
120120 env :
121121 DEVELOCITY_ACCESS_KEY : " ${{ secrets.DEVELOCITY_ACCESS_KEY || '' }}"
122- # For jobs running on 'pull_request', tar and upload build scan data.
122+ # For jobs running on 'pull_request', upload build scan data.
123123 # The actual publishing must be done in a separate job (see ci-report.yml).
124124 # We don't write to the remote cache as that would be unsafe.
125- - name : Tar build scan content pushed to subsequent jobs
126- if : " ${{ github.event_name == 'pull_request' && !cancelled() }}"
127- run : tar -czf build-scan-data.tgz -C ~/.m2/.develocity/build-scan-data .
128125 - name : Upload GitHub Actions artifact for the Develocity build scan
129126 uses : actions/upload-artifact@v4
130127 if : " ${{ github.event_name == 'pull_request' && !cancelled() }}"
131128 with :
132129 name : build-scan-data-initial-${{ matrix.os.name }}
133- path : build-scan-data.tgz
130+ path : ~/.m2/.develocity/ build-scan-data
134131
135132 - name : Run integration tests in the default environment
136133 run : |
@@ -140,15 +137,12 @@ jobs:
140137 env :
141138 DEVELOCITY_ACCESS_KEY : " ${{ secrets.DEVELOCITY_ACCESS_KEY || '' }}"
142139 # Same as above, but for the build scan of the latest Maven run.
143- - name : Tar build scan content pushed to subsequent jobs
144- if : " ${{ github.event_name == 'pull_request' && !cancelled() }}"
145- run : tar -czf build-scan-data.tgz -C ~/.m2/.develocity/build-scan-data .
146140 - name : Upload GitHub Actions artifact for the Develocity build scan
147141 uses : actions/upload-artifact@v4
148142 if : " ${{ github.event_name == 'pull_request' && !cancelled() }}"
149143 with :
150144 name : build-scan-data-integrationtest-${{ matrix.os.name }}
151- path : build-scan-data.tgz
145+ path : ~/.m2/.develocity/ build-scan-data
152146
153147 - name : Docker cleanup
154148 run : ./ci/docker-cleanup.sh
0 commit comments