From 257b3e61fa132b797c80f4a570299b97816c4166 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Fri, 13 Dec 2024 16:03:06 +0800 Subject: [PATCH] . --- .github/workflows/post-build-selective.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/post-build-selective.yml b/.github/workflows/post-build-selective.yml index f38620160b8..27852e86705 100644 --- a/.github/workflows/post-build-selective.yml +++ b/.github/workflows/post-build-selective.yml @@ -55,8 +55,13 @@ jobs: log-accepted-android-sdk-licenses: false - run: ./mill -i -k selective.resolve ${{ inputs.millargs }} + if: github.event_name == 'pull_request' - run: ./mill -i -k selective.run ${{ inputs.millargs }} + if: github.event_name == 'pull_request' + + - run: ./mill -i -k ${{ inputs.millargs }} + if: github.event_name != 'pull_request' - run: 'taskkill -f -im java* && rm -rf out/mill-server/*' if: startsWith(inputs.os, 'windows')