Skip to content

Commit

Permalink
add a clean to ensure we do not lock files for a windows build (#55)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
olamy committed Jul 20, 2022
1 parent 0a2a2d2 commit 5c6d8aa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
- name: Build Maven Site
run: ./mvnw --errors --batch-mode --show-version ${{ inputs.maven-args }} ${{ inputs.ff-site-goal }}
if: inputs.ff-site-run

- name: Upload Maven Site
uses: actions/upload-artifact@v3
with:
Expand All @@ -207,6 +207,9 @@ jobs:
if: always()
run: df -h
shell: bash

- name: Clean Ensuring no file handle remains open on windows
run: ./mvnw clean --errors --batch-mode --show-version

verify:
needs: fail-fast-build
Expand Down Expand Up @@ -286,3 +289,7 @@ jobs:
if: steps.should-run.conclusion == 'success' && always()
run: df -h
shell: bash

- name: Clean Ensuring no file handle remains open on windows
if: steps.should-run.conclusion == 'success'
run: ./mvnw clean --errors --batch-mode --show-version

0 comments on commit 5c6d8aa

Please sign in to comment.