From ac610e90bc75f459c97f2e3000bcbae73286edcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mino?= Date: Thu, 12 Oct 2023 21:00:47 +0200 Subject: [PATCH] Disable interactive mode in maven settings.xml It disables download progress indication globally, rather than specifying it in each maven invocation --- .github/actions/setup/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index f0394843ed5..2e2c6f328cb 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -24,6 +24,10 @@ runs: with: distribution: 'zulu' java-version: '${{ inputs.java-version }}' + - name: 'Disable maven interactive mode' + shell: bash + run: | + sed -i 's//false\<\/interactiveMode>\n /g' ~/.m2/settings.xml - name: 'Setup: check tools' shell: bash run: |