Skip to content

Commit 5c6d8aa

Browse files
authored
add a clean to ensure we do not lock files for a windows build (#55)
* add a clean to ensure we do not lock files for a windows build cherry-pick of 6fb412f * Update maven-verify.yml * Update maven-verify.yml * Update maven-verify.yml
1 parent 0a2a2d2 commit 5c6d8aa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/maven-verify.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
- name: Build Maven Site
189189
run: ./mvnw --errors --batch-mode --show-version ${{ inputs.maven-args }} ${{ inputs.ff-site-goal }}
190190
if: inputs.ff-site-run
191-
191+
192192
- name: Upload Maven Site
193193
uses: actions/upload-artifact@v3
194194
with:
@@ -207,6 +207,9 @@ jobs:
207207
if: always()
208208
run: df -h
209209
shell: bash
210+
211+
- name: Clean Ensuring no file handle remains open on windows
212+
run: ./mvnw clean --errors --batch-mode --show-version
210213

211214
verify:
212215
needs: fail-fast-build
@@ -286,3 +289,7 @@ jobs:
286289
if: steps.should-run.conclusion == 'success' && always()
287290
run: df -h
288291
shell: bash
292+
293+
- name: Clean Ensuring no file handle remains open on windows
294+
if: steps.should-run.conclusion == 'success'
295+
run: ./mvnw clean --errors --batch-mode --show-version

0 commit comments

Comments
 (0)