From 2bb577817a94fb6eedf68aec62d9b6ad0957a7e7 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Fri, 13 Dec 2024 21:28:50 +0800 Subject: [PATCH] . --- .github/workflows/post-build-selective.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-build-selective.yml b/.github/workflows/post-build-selective.yml index f19c4d75ece..41c345fd983 100644 --- a/.github/workflows/post-build-selective.yml +++ b/.github/workflows/post-build-selective.yml @@ -61,7 +61,7 @@ jobs: if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-all-tests')) - run: ./mill -i -k ${{ inputs.millargs }} - if: !(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'run-all-tests')) + if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-all-tests')) - run: 'taskkill -f -im java* && rm -rf out/mill-server/*' if: startsWith(inputs.os, 'windows')