@@ -310,11 +310,6 @@ jobs:
310310 GITHUB_TOKEN : ${{ github.token }}
311311 run : pixi run get-exes -s
312312
313- - name : Clean bin directory
314- if : inputs.run_tests == true && !(runner.os == 'Windows' && matrix.extended)
315- working-directory : modflow6/bin
316- run : rm -rf rebuilt downloaded
317-
318313 - name : Build binaries (Windows)
319314 if : runner.os == 'Windows' && matrix.extended && !inputs.run_tests
320315 uses : ./modflow6/.github/actions/build-extended-win
@@ -367,12 +362,6 @@ jobs:
367362 if exist rebuilt rd /s /q rebuilt
368363 if exist downloaded rd /s /q downloaded
369364
370- - name : Upload binaries
371- uses : actions/upload-artifact@v6
372- with :
373- name : bin-${{ steps.ostag.outputs.ostag }}
374- path : modflow6/bin
375-
376365 - name : Test MF6
377366 if : inputs.run_tests == true && !(runner.os == 'Windows' && matrix.extended)
378367 working-directory : modflow6
@@ -401,6 +390,17 @@ jobs:
401390 name : failed-${{ matrix.os }}-${{ inputs.compiler_toolchain }}-${{ inputs.compiler_version }}
402391 path : modflow6/autotest/.failed
403392
393+ - name : Clean bin directory
394+ if : inputs.run_tests == true && !(runner.os == 'Windows' && matrix.extended)
395+ working-directory : modflow6/bin
396+ run : rm -rf rebuilt downloaded
397+
398+ - name : Upload binaries
399+ uses : actions/upload-artifact@v6
400+ with :
401+ name : bin-${{ steps.ostag.outputs.ostag }}
402+ path : modflow6/bin
403+
404404 # steps below run only on Linux to test distribution procedures, e.g.
405405 # compiling binaries, building documentation
406406 - name : Checkout usgslatex
0 commit comments