Skip to content

Commit f528e23

Browse files
authored
ci: clean stale .out files after checkout to prevent misleading logs (#1308)
1 parent 92e751f commit f528e23

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ jobs:
234234
# submit-slurm-job.sh can detect and cancel stale SLURM jobs on retry.
235235
clean: false
236236

237+
- name: Clean stale output files
238+
run: rm -f *.out
239+
237240
- name: Build (login node)
238241
if: matrix.cluster != 'phoenix'
239242
timeout-minutes: 60
@@ -317,6 +320,9 @@ jobs:
317320
with:
318321
clean: false
319322

323+
- name: Clean stale output files
324+
run: rm -f *.out
325+
320326
- name: Pre-Build (SLURM)
321327
if: matrix.cluster == 'phoenix'
322328
run: bash .github/scripts/submit-slurm-job.sh .github/scripts/prebuild-case-optimization.sh cpu ${{ matrix.interface }} ${{ matrix.cluster }}

0 commit comments

Comments
 (0)