Skip to content

Commit

Permalink
Maybe fix git clean
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Feb 14, 2024
1 parent 65b2944 commit 37f0071
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@ jobs:

- name: Run tests
run: nox -k ${{ matrix.mappings }}


# kill java because gradle leaves an orphaned process that interferes with git clean
- name: Prepare rendered project for upload
if: matrix.upload
run: |
mkdir _build
cp .ctt/${{ matrix.mappings }}/*/build/libs/*.jar _build
cd .ctt/${{ matrix.mappings }}
taskkill /F /IM "java.exe"
git config core.longPaths true
git clean -fdX -e _site
git clean -fdX --exclude "!_site/"
- name: Upload full rendered project artifact
if: matrix.upload
Expand Down

0 comments on commit 37f0071

Please sign in to comment.